Skip to content

Commit

Permalink
Merge pull request #169 from guansss/patch-3
Browse files Browse the repository at this point in the history
ci: fix PAT conflicting with default GITHUB_TOKEN
  • Loading branch information
dragove authored Mar 3, 2024
2 parents 2f7785a + 6ca8d37 commit 37f1afc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/openapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ jobs:
with:
repository: MaaAssistantArknights/maa-copilot-client-ts
path: maa-copilot-client-ts
token: ${{ secrets.TS_CLIENT_PAT }}

- name: Copy ts client into maa-copilot-client-ts
run: |
Expand All @@ -127,7 +128,6 @@ jobs:
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 37f1afc

Please sign in to comment.