Skip to content

Commit d58e9c0

Browse files
authored
Merge pull request #4099 from yue9944882/pat-token-generate-workflow
Use PAT_TOKEN for model-generate workflow
2 parents 6fcf49b + c2490a1 commit d58e9c0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/generate.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ jobs:
3131
steps:
3232
- name: Checkout Java
3333
uses: actions/checkout@v4
34+
with:
35+
token: ${{ secrets.PAT_TOKEN }}
3436
- name: Setup Java
3537
uses: actions/setup-java@v4
3638
with:
@@ -110,7 +112,7 @@ jobs:
110112
with:
111113
source_branch: ${{ env.BRANCH }}
112114
destination_branch: ${{ github.ref_name }}
113-
github_token: ${{ secrets.GITHUB_TOKEN }}
115+
github_token: ${{ secrets.PAT_TOKEN }}
114116
pr_title: "Automated Generate from openapi ${{ github.event.inputs.kubernetesBranch }}"
115117

116118

0 commit comments

Comments
 (0)