ci: add bump and release workflows (#21) #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
push: | |
branches: | |
- main | |
jobs: | |
bump-version: | |
if: ${{ ! startsWith(github.event.head_commit.message, 'bump:') }} | |
runs-on: ubuntu-latest | |
name: "Bump version and create changelog with commitizen" | |
steps: | |
- name: Check out | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: coatl-dev/actions/gpg-import@v3 | |
id: gpg-import | |
with: | |
passphrase: ${{ secrets.COATL_BOT_GPG_PASSPHRASE }} | |
private-key: ${{ secrets.COATL_BOT_GPG_PRIVATE_KEY }} | |
- uses: commitizen-tools/[email protected] | |
with: | |
github_token: ${{ secrets.COATL_BOT_GH_TOKEN }} |