Skip to content

Commit

Permalink
Use pull_request.head.sha instead of ref (#242)
Browse files Browse the repository at this point in the history
  • Loading branch information
zijchen authored Oct 17, 2024
1 parent c89ae91 commit e76d550
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/pr-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
uses: actions/checkout@v4
with:
repository: ${{ github.event.pull_request.head.repo.full_name }}
ref: ${{ github.event.pull_request.head.ref }}
ref: ${{ github.event.pull_request.head.sha }}

- name: Installing node_modules
run: npm install
Expand Down

0 comments on commit e76d550

Please sign in to comment.