Skip to content

Commit 27af974

Browse files
chore: workflow permission
1 parent bbb8706 commit 27af974

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,19 @@ on:
77
jobs:
88
changelog:
99
runs-on: ubuntu-latest
10+
permissions:
11+
contents: write
1012
steps:
11-
- uses: actions/checkout@v2
13+
- name: Checkout code
14+
uses: actions/checkout@v4
15+
1216
- name: Conventional Changelog Action
1317
id: changelog
1418
uses: TriPSs/[email protected]
1519
with:
1620
github-token: ${{ secrets.PA_TOKEN }}
1721
version-file: "./package.json,./package-lock.json"
22+
1823
- name: create release
1924
uses: actions/create-release@v1
2025
if: ${{ steps.changelog.outputs.skipped == 'false' }}

0 commit comments

Comments
 (0)