Skip to content

Commit 37f1afc

Browse files
authored
Merge pull request #169 from guansss/patch-3
ci: fix PAT conflicting with default GITHUB_TOKEN
2 parents 2f7785a + 6ca8d37 commit 37f1afc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/openapi.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ jobs:
105105
with:
106106
repository: MaaAssistantArknights/maa-copilot-client-ts
107107
path: maa-copilot-client-ts
108+
token: ${{ secrets.TS_CLIENT_PAT }}
108109

109110
- name: Copy ts client into maa-copilot-client-ts
110111
run: |
@@ -127,7 +128,6 @@ jobs:
127128
if: ${{ steps.cpr.outputs.pull-request-number }}
128129
run: |
129130
cd maa-copilot-client-ts
130-
git remote set-url origin https://${{ secrets.TS_CLIENT_PAT }}@github.com/MaaAssistantArknights/maa-copilot-client-ts.git
131131
git checkout ts-client
132132
git tag ${{ steps.version.outputs.version }}
133133
git push --tags

0 commit comments

Comments
 (0)