Skip to content

Commit 8cf334c

Browse files
Update bump_version.yaml
1 parent ca02767 commit 8cf334c

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

.github/workflows/bump_version.yaml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,22 @@ jobs:
2727
runs-on: ubuntu-latest
2828
name: "Bump version and create changelog with commitizen"
2929
steps:
30+
- name: Load secret
31+
uses: 1password/load-secrets-action@v2
32+
with:
33+
export-env: true
34+
env:
35+
OP_SERVICE_ACCOUNT_TOKEN: ${{ secrets.OP_SERVICE_ACCOUNT_TOKEN }}
36+
PERSONAL_ACCESS_TOKEN: op://shawndengdev/github_access_token/credential
3037

3138
- name: Check out
3239
uses: actions/checkout@v4
3340
with:
3441
fetch-depth: 0
35-
token: '${{ github.token }}'
42+
token: '${{ env.PERSONAL_ACCESS_TOKEN }}'
3643

3744
- name: Create bump and changelog
3845
uses: commitizen-tools/commitizen-action@master
3946
with:
40-
github_token: '${{ github.token }}'
47+
github_token: ${{ env.PERSONAL_ACCESS_TOKEN }}
4148
branch: master

0 commit comments

Comments
 (0)