diff --git a/.github/workflows/version-bump.yml b/.github/workflows/version-bump.yml index 84fbd4efa..d4800d868 100644 --- a/.github/workflows/version-bump.yml +++ b/.github/workflows/version-bump.yml @@ -10,10 +10,9 @@ permissions: pull-requests: write jobs: - bump-version: - if: "!startsWith(github.event.head_commit.message, 'bump:')" + run-tests: runs-on: ubuntu-latest - name: "Bump version and create changelog with commitizen" + name: "Run tests" steps: - uses: actions/checkout@v4 with: @@ -28,6 +27,16 @@ jobs: - name: Run tests run: make test + bump-version: + if: "!startsWith(github.event.head_commit.message, 'bump:')" + runs-on: ubuntu-latest + name: "Bump Version" + needs: run-tests + steps: + - uses: actions/checkout@v4 + with: + token: ${{ secrets.GITHUB_TOKEN }} + fetch-depth: 0 - name: Create bump and changelog uses: commitizen-tools/commitizen-action@master with: