Skip to content

Commit c990ee1

Browse files
committed
ci: use github app token
1 parent 90036fa commit c990ee1

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/bumpversion.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,19 @@ jobs:
1111
runs-on: ubuntu-latest
1212
name: "Bump version and create changelog with commitizen"
1313
steps:
14+
- uses: actions/create-github-app-token@v1
15+
id: app-token
16+
with:
17+
app-id: ${{ vars.ELEMENTSINTERACTIVE_BOT_APP_ID }}
18+
private-key: ${{ secrets.ELEMENTSINTERACTIVE_BOT_PRIVATE_KEY }}
1419
- name: Check out
1520
uses: actions/checkout@v4
1621
with:
1722
fetch-depth: 0
18-
token: "${{ secrets.GITHUB_TOKEN }}"
1923
- id: cz
2024
name: Create bump and changelog
2125
uses: commitizen-tools/commitizen-action@master
2226
with:
23-
github_token: ${{ secrets.GITHUB_TOKEN }}
27+
github_token: ${{ steps.app-token.outputs.token }}
2428
- name: Print Version
2529
run: echo "Bumped to version ${{ steps.cz.outputs.version }}"

0 commit comments

Comments
 (0)