Skip to content

Commit 15b6ec9

Browse files
committed
Fix: Relase action permission #1
1 parent e5894cd commit 15b6ec9

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

Diff for: .github/workflows/release.yml

+9
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,16 @@ jobs:
99
release:
1010
name: Release
1111
runs-on: ubuntu-latest
12+
# https://docs.github.com/ko/actions/writing-workflows/workflow-syntax-for-github-actions#permissions
13+
permissions:
14+
contents: write
15+
packages: write
16+
pull-requests: write
1217
steps:
1318
- name: Checkout Repo
1419
uses: actions/checkout@v4
20+
with:
21+
fetch-depth: 0
1522

1623
- name: Setup Node.js
1724
uses: actions/setup-node@v3
@@ -25,6 +32,8 @@ jobs:
2532
with:
2633
commit: "Chore: Version Packages"
2734
publish: npm run publish
35+
setupGitUser: true
36+
createGithubReleases: true
2837
env:
2938
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3039
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)