Skip to content

Commit

Permalink
Merge pull request #168 from guansss/patch-2
Browse files Browse the repository at this point in the history
ci: use PAT for pushing commits to maa-copilot-client-ts
  • Loading branch information
dragove authored Mar 3, 2024
2 parents 5c5bba6 + cc610e1 commit 2f7785a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/openapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -121,11 +121,13 @@ jobs:
body: https://github.com/MaaAssistantArknights/MaaBackendCenter/actions/runs/${{ github.run_id }}
branch: ts-client
delete-branch: true
token: ${{ secrets.TS_CLIENT_PAT }}

- name: Tag previous commit with version
if: ${{ steps.cpr.outputs.pull-request-number }}
run: |
cd maa-copilot-client-ts
git remote set-url origin https://${{ secrets.TS_CLIENT_PAT }}@github.com/MaaAssistantArknights/maa-copilot-client-ts.git
git checkout ts-client
git tag ${{ steps.version.outputs.version }}
git push --tags

0 comments on commit 2f7785a

Please sign in to comment.