docs: add new alternatives #26
This file contains hidden or 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
| name: Bump Version | |
| on: | |
| push: | |
| branches: [main] | |
| workflow_dispatch: | |
| jobs: | |
| bump-version: | |
| # Ignore commits from this action to prevent loops | |
| if: "!startsWith(github.event.head_commit.message, 'bump:')" | |
| runs-on: ubuntu-latest | |
| name: Bump version and create release with commitizen | |
| # Fix 403 error (https://github.com/softprops/action-gh-release/issues/400) | |
| permissions: | |
| contents: write | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| fetch-depth: 0 | |
| - name: Bump version and generate changelog | |
| uses: commitizen-tools/commitizen-action@master | |
| with: | |
| branch: main | |
| changelog_increment_filename: body.md | |
| github_token: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Generate GitHub Release Notes | |
| uses: softprops/action-gh-release@v2 | |
| with: | |
| body_path: body.md | |
| tag_name: ${{ env.REVISION }} |