Skip to content

Commit da9d0f7

Browse files
committed
fix(release): add github token
1 parent 2c88b75 commit da9d0f7

3 files changed

Lines changed: 8 additions & 3 deletions

File tree

.github/workflows/push_branches.workflow.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,15 @@ jobs:
3232
- name: Build
3333
run: npm run build
3434

35+
- uses: actions/create-github-app-token@v3
36+
id: app-token
37+
with:
38+
client-id: ${{ vars.KUZZLE_BOT_APP_ID }}
39+
private-key: ${{ secrets.KUZZLE_BOT_PRIVATE_KEY }}
40+
3541
- name: Release
3642
env:
43+
GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}
3744
SEMANTIC_RELEASE_NPM_PUBLISH: "true"
3845
SEMANTIC_RELEASE_SLACK_WEBHOOK: ${{ secrets.SEMANTIC_RELEASE_SLACK_WEBHOOK }}
3946
run: npx semantic-release

package-lock.json

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
"@types/node": "22.10.7",
2828
"cz-conventional-changelog": "3.3.0",
2929
"eslint-plugin-kuzzle": "0.0.13",
30-
"semantic-release": "^24.2.9",
3130
"semantic-release-config-kuzzle": "1.7.0",
3231
"ts-node": "10.9.2",
3332
"typescript": "5.4.5"
@@ -38,4 +37,4 @@
3837
"files": [
3938
"dist/*"
4039
]
41-
}
40+
}

0 commit comments

Comments
 (0)