Skip to content

Lock GitHub Actions workflows and pre-commit hooks #518

Lock GitHub Actions workflows and pre-commit hooks

Lock GitHub Actions workflows and pre-commit hooks #518

Workflow file for this run

name: Lint
on: [push, pull_request, workflow_dispatch]
permissions: {}
env:
FORCE_COLOR: 1
PIP_DISABLE_PIP_VERSION_CHECK: 1
RUFF_OUTPUT_FORMAT: github
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7.0.1
with:
persist-credentials: false
- uses: j178/prek-action@v3.1.1
# Fails when .github/workflows/actions.lock is out of sync with the
# workflows or a locked pin no longer verifies upstream.
lockfile:
runs-on: ubuntu-slim
steps:
- uses: actions/checkout@v7.0.1
with:
persist-credentials: false
- uses: github/gh-actions-lock@verify/v0.5.1