Skip to content

Commit b57f917

Browse files
authored
use more explicit ref to upstream repo
1 parent 104f6a6 commit b57f917

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/pr-preview.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ jobs:
8282

8383
- name: Overwrite snapshot scripts with versions from main
8484
run: |
85-
git remote add upstream https://github.com/${{ github.repository }}.git
85+
git remote add upstream https://github.com/${{ github.event.pull_request.base.repo.full_name }}.git
8686
git fetch upstream main
8787
git checkout upstream/main -- scripts/insert-snapshot-warning.js scripts/deploy-github-pages.sh
8888

0 commit comments

Comments
 (0)