File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed
repo_scaffold/templates/template-python/{{cookiecutter.project_slug}}/.github/workflows Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change 5
5
branches :
6
6
- master
7
7
- main
8
-
9
8
workflow_dispatch :
10
9
inputs :
11
10
increment :
@@ -28,15 +27,22 @@ jobs:
28
27
runs-on : ubuntu-latest
29
28
name : " Bump version and create changelog with commitizen"
30
29
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
31
37
32
38
- name : Check out
33
39
uses : actions/checkout@v4
34
40
with :
35
41
fetch-depth : 0
36
- token : ' ${{ github.token }}'
42
+ token : ' ${{ env.PERSONAL_ACCESS_TOKEN }}'
37
43
38
44
- name : Create bump and changelog
39
45
uses : commitizen-tools/commitizen-action@master
40
46
with :
41
- github_token : ' ${{ github.token }}'
47
+ github_token : ${{ env.PERSONAL_ACCESS_TOKEN }}
42
48
branch : master
You can’t perform that action at this time.
0 commit comments