Skip to content

Commit 02ea91a

Browse files
committed
Use PR head details.
1 parent 16e2fdc commit 02ea91a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/commit-built-file-changes.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,8 @@ jobs:
8787
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
8888
if: ${{ steps.artifact-check.outputs.exists == 'true' }}
8989
with:
90-
repository: ${{ github.event.workflow_run.repository.full_name }}
91-
ref: ${{ github.event.workflow_run.head_branch }}
90+
repository: ${{ github.event.workflow_run.pull_request.head.repo.full_name }}
91+
ref: ${{ github.event.workflow_run.pull_request.head_branch }}
9292
path: 'pr-repo'
9393
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}
9494

0 commit comments

Comments
 (0)