Skip to content

Commit be60b4b

Browse files
author
Orta Therox
authored
Merge pull request microsoft#1170 from saschanaz/fork-try2
Use lelia/forker instead of gh cli
2 parents 109f333 + 7d1a09c commit be60b4b

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

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

+5-7
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,11 @@ 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-
- 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
30+
- uses: lelia/[email protected]
31+
with:
32+
token: ${{ secrets.TS_GITHUB_BOT_AUTH }}
33+
owner: microsoft
34+
repo: TypeScript-DOM-lib-generator
3735
continue-on-error: true
3836
- uses: peter-evans/create-pull-request@v3
3937
if: ${{ steps.git-diff.outcome == 'failure' }}

0 commit comments

Comments
 (0)