Skip to content

[codex] Pin GitHub Actions workflow references #109

[codex] Pin GitHub Actions workflow references

[codex] Pin GitHub Actions workflow references #109

Workflow file for this run

name: Run Pre-commit Checks
on:
pull_request:
branches: [ main ]
jobs:
pre_commit:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
- name: Set up Python 3.11
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
with:
python-version: '3.11'
- name: Install dependencies
run: |
pip install --upgrade pip
pip install pre-commit
- name: Run pre-commit hooks
run: pre-commit run --verbose --all-files