Skip to content

Use lelia/forker instead of gh cli #1170

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 2, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 5 additions & 7 deletions .github/workflows/update-core-deps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,11 @@ jobs:
run: git diff --quiet HEAD baselines
continue-on-error: true
# TODO: Remove the following command after the fork is created
- env:
TS_TOKEN: ${{ secrets.TS_GITHUB_BOT_AUTH }}
run: |
echo $TS_TOKEN > ts_token
gh auth login --with-token < ts_token
gh repo fork --remote false
rm ts_token
- uses: lelia/[email protected]
with:
token: ${{ secrets.TS_GITHUB_BOT_AUTH }}
owner: microsoft
repo: TypeScript-DOM-lib-generator
continue-on-error: true
- uses: peter-evans/create-pull-request@v3
if: ${{ steps.git-diff.outcome == 'failure' }}
Expand Down