Skip to content

Commit 50ea799

Browse files
committed
cicd(release): changes for release-it
1 parent d5e520c commit 50ea799

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ concurrency:
88
cancel-in-progress: false
99

1010
permissions:
11+
contents: write # For git operations
1112
id-token: write # Required for NPM OIDC
1213

1314
jobs:
@@ -34,7 +35,6 @@ jobs:
3435
if: ${{ needs.should-release.outputs.should-release == 'true' }}
3536
env:
3637
CI: true
37-
GITHUB_TOKEN: ${{ secrets.ACTION_GITHUB_TOKEN }}
3838
RUST_LOG: debug
3939
runs-on: ubuntu-latest
4040
steps:
@@ -67,4 +67,6 @@ jobs:
6767
- name: Registry auth
6868
run: pnpm config set registry="https://registry.npmjs.org"
6969
- name: Perform release
70+
env:
71+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
7072
run: pnpm run release --ci ${{ needs.should-release.outputs.version }}

.release-it.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,8 @@
1010
},
1111
"hooks": {
1212
"after:bump": "npx auto-changelog -p"
13+
},
14+
"npm": {
15+
"skipChecks": true
1316
}
1417
}

0 commit comments

Comments
 (0)