Skip to content

Commit

Permalink
checkout the fork's head
Browse files Browse the repository at this point in the history
  • Loading branch information
robobenklein committed Aug 24, 2023
1 parent 6186803 commit 0d3bdf8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/verify-netid-file.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,16 @@ jobs:
- run: |
echo "pr merge_commit_sha: ${{ github.event.pull_request.merge_commit_sha }}"
echo "pr_target merge_commit_sha: ${{ github.event.pull_request_target.merge_commit_sha }}"
echo "fork: ${{github.event.pull_request.head.repo.full_name}}"
echo "head: ${{github.event.pull_request.head.ref}}"
echo "pr event data: ${{ toJson(github.event.pull_request) }}"
echo "pr_target event data: ${{ toJson(github.event.pull_request_target) }}"
- uses: actions/checkout@v3
with:
fetch-depth: 20
ref: "${{ github.event.pull_request.merge_commit_sha }}"
ref: ${{github.event.pull_request.head.ref}}
repository: ${{github.event.pull_request.head.repo.full_name}}

- run: |
git show HEAD
Expand Down

0 comments on commit 0d3bdf8

Please sign in to comment.