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 55 branches :
66 - master
77 - main
8-
98 workflow_dispatch :
109 inputs :
1110 increment :
@@ -28,15 +27,22 @@ jobs:
2827 runs-on : ubuntu-latest
2928 name : " Bump version and create changelog with commitizen"
3029 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
3137
3238 - name : Check out
3339 uses : actions/checkout@v4
3440 with :
3541 fetch-depth : 0
36- token : ' ${{ github.token }}'
42+ token : ' ${{ env.PERSONAL_ACCESS_TOKEN }}'
3743
3844 - name : Create bump and changelog
3945 uses : commitizen-tools/commitizen-action@master
4046 with :
41- github_token : ' ${{ github.token }}'
47+ github_token : ${{ env.PERSONAL_ACCESS_TOKEN }}
4248 branch : master
You can’t perform that action at this time.
0 commit comments