mirror of
https://github.com/Zelda64Recomp/Zelda64Recomp.git
synced 2026-05-03 07:31:38 +00:00
Use source’s repo’s name for finding PR
This commit is contained in:
parent
5fef1470e5
commit
0215568d68
1 changed files with 1 additions and 1 deletions
2
.github/workflows/update-pr-artifacts.yml
vendored
2
.github/workflows/update-pr-artifacts.yml
vendored
|
|
@ -17,7 +17,7 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
pr_number=$(gh api \
|
pr_number=$(gh api \
|
||||||
-H "Accept: application/vnd.github+json" \
|
-H "Accept: application/vnd.github+json" \
|
||||||
/repos/${{ github.repository }}/commits/${{ github.event.workflow_run.head_sha }}/pulls \
|
/repos/${{ github.event.pull_request.head.repo.full_name }}/commits/${{ github.event.workflow_run.head_sha }}/pulls \
|
||||||
--jq '.[0].number')
|
--jq '.[0].number')
|
||||||
|
|
||||||
if [ -z "$pr_number" ]; then
|
if [ -z "$pr_number" ]; then
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue