Skip to content

build(deps): bump actions/checkout from 4 to 5 (#1001) #167

build(deps): bump actions/checkout from 4 to 5 (#1001)

build(deps): bump actions/checkout from 4 to 5 (#1001) #167

Workflow file for this run

name: Pre-commit checks
on:
# Run workflow for PRs.
pull_request:
# Whenever we have a new commit on main, run the workflow for that.
push:
branches: [main]
jobs:
pre-commit:
name: Pre-commit checks
runs-on: ubuntu-22.04
steps:
- name: Checkout code
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8
with:
ref: ${{github.event.pull_request.head.sha}}
repository: ${{github.event.pull_request.head.repo.full_name}}
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Run pre-commit checks on PR
uses: pre-commit/[email protected]