Skip to content

Commit 3722dc7

Browse files
committed
gh login auth
1 parent efe0c18 commit 3722dc7

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/update-core-deps.yml

+7-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,13 @@ jobs:
2727
run: git diff --quiet HEAD baselines
2828
continue-on-error: true
2929
# TODO: Remove the following command after the fork is created
30-
- run: gh repo fork --remote false
30+
- env:
31+
TS_TOKEN: ${{ secrets.TS_GITHUB_BOT_AUTH }}
32+
run: |
33+
echo $TS_TOKEN > ts_token
34+
gh auth login --with-token < ts_token
35+
gh repo fork --remote false
36+
rm ts_token
3137
continue-on-error: true
3238
- uses: peter-evans/create-pull-request@v3
3339
if: ${{ steps.git-diff.outcome == 'failure' }}

0 commit comments

Comments
 (0)