We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a32f559 commit ac06d89Copy full SHA for ac06d89
1 file changed
.github/workflows/pr-check.yml
@@ -29,8 +29,7 @@ jobs:
29
- name: Check out PR head for manual runs
30
if: github.event_name == 'workflow_dispatch'
31
run: |
32
- PR_REF=$(gh pr view ${{ inputs.pr_number }} --repo ${{ github.repository }} --json headRefName --jq '.headRefName')
33
- git fetch origin "$PR_REF"
+ git fetch origin "refs/pull/${{ inputs.pr_number }}/head"
34
git checkout FETCH_HEAD -- ${{ inputs.tool_files }}
35
env:
36
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
0 commit comments