Skip to content

Commit 4c60690

Browse files
committed
fix: set downstream remote URL with PAT before pushing
1 parent 625e0d5 commit 4c60690

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/upgrade-downstream.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ jobs:
9595
git checkout -b $BRANCH
9696
git add -A
9797
git commit -m "chore: upgrade @chromatic-com/tetra to v${{ steps.tetra.outputs.version }}"
98+
git remote set-url origin "https://x-access-token:${{ secrets.GH_PAT }}@github.com/${{ matrix.repo }}.git"
9899
git push origin $BRANCH
99100
100101
- name: Open PR

0 commit comments

Comments
 (0)