bumpversion.yml 573 B

12345678910111213141516171819202122
  1. name: Bump version
  2. on:
  3. push:
  4. branches:
  5. - master
  6. jobs:
  7. bump-version:
  8. if: "!startsWith(github.event.head_commit.message, 'bump:')"
  9. runs-on: ubuntu-latest
  10. name: "Bump version and create changelog with commitizen"
  11. steps:
  12. - name: Check out
  13. uses: actions/checkout@v3
  14. with:
  15. token: "${{ secrets.PERSONAL_ACCESS_TOKEN }}"
  16. fetch-depth: 0
  17. - name: Create bump and changelog
  18. uses: commitizen-tools/commitizen-action@master
  19. with:
  20. github_token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}