Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ on:
branches:
- master
- main

workflow_dispatch:
inputs:
increment:
Expand All @@ -28,15 +27,22 @@ jobs:
runs-on: ubuntu-latest
name: "Bump version and create changelog with commitizen"
steps:
- name: Load secret
uses: 1password/load-secrets-action@v2
with:
export-env: true
env:
OP_SERVICE_ACCOUNT_TOKEN: ${{ secrets.OP_SERVICE_ACCOUNT_TOKEN }}
PERSONAL_ACCESS_TOKEN: op://shawndengdev/github_access_token/credential

- name: Check out
uses: actions/checkout@v4
with:
fetch-depth: 0
token: '${{ github.token }}'
token: '${{ env.PERSONAL_ACCESS_TOKEN }}'

- name: Create bump and changelog
uses: commitizen-tools/commitizen-action@master
with:
github_token: '${{ github.token }}'
github_token: ${{ env.PERSONAL_ACCESS_TOKEN }}
branch: master