Skip to content

Commit

Permalink
ci: fix: pre-commit check the PR (not main)
Browse files Browse the repository at this point in the history
  • Loading branch information
tazlin committed Feb 29, 2024
1 parent 0776b39 commit 89713f1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/prtests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Run pre-commit
uses: pre-commit/[email protected]

Expand Down

0 comments on commit 89713f1

Please sign in to comment.