Skip to content

Commit 846f6a9

Browse files
holly-cumminsclaude
andcommitted
Fix PR preview by passing github-token to download-artifact
download-artifact silently ignores run-id unless github-token is also provided, so the action was searching the current (preview) run instead of the triggering Build run. Broken since the switch from dawidd6/action-download-artifact in 35f8690. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 07fbb1b commit 846f6a9

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/preview.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ jobs:
2020
- name: Download PR Artifact
2121
uses: actions/download-artifact@v8
2222
with:
23+
github-token: ${{ github.token }}
2324
run-id: ${{ github.event.workflow_run.id }}
2425
name: site
2526
- name: Store PR id as variable

0 commit comments

Comments
 (0)