Skip to content

Commit f9920a8

Browse files
perf: 使用默认 GITHUB_TOKEN
1 parent b9b9286 commit f9920a8

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ on:
1111
schedule:
1212
- cron: '0 20 * * *'
1313

14+
permissions:
15+
contents: write
16+
packages: write
17+
1418
env:
1519
app_name: 'aws-cli'
1620
app_repo: 'aws/aws-cli'
@@ -137,7 +141,7 @@ jobs:
137141

138142
- name: Create release
139143
env:
140-
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
144+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
141145
run: |
142146
TAG_NAME="${{ env.app_version }}"
143147
gh release create "${TAG_NAME}" \

0 commit comments

Comments
 (0)