diff --git a/.github/workflows/bench-release.yml b/.github/workflows/bench-release.yml index aea0510..1d15de8 100644 --- a/.github/workflows/bench-release.yml +++ b/.github/workflows/bench-release.yml @@ -7,10 +7,8 @@ on: jobs: bench_release: + if: ${{ startsWith(github.event.head_commit.message, 'bump:') }} runs-on: ubuntu-latest - strategy: - matrix: - python-version: ['3.9', '3.10', '3.11', '3.12', '3.13'] steps: - name: Check out uses: actions/checkout@v4 @@ -20,9 +18,8 @@ jobs: - name: Setup python uses: actions/setup-python@v5 with: - python-version: ${{ matrix.python-version }} + python-version: '3.13' architecture: x64 - - name: Set Cache uses: actions/cache@v4 id: cache # name for referring later diff --git a/.github/workflows/bumpversion.yml b/.github/workflows/bumpversion.yml index 262de20..b9c5c30 100644 --- a/.github/workflows/bumpversion.yml +++ b/.github/workflows/bumpversion.yml @@ -7,7 +7,9 @@ on: jobs: bump-version: - if: ${{ !startsWith(github.event.head_commit.message, 'bump:') || !startsWith(github.event.head_commit.message, 'bench:') }} + if: | + !startsWith(github.event.head_commit.message, 'bump:') || + !startsWith(github.event.head_commit.message, 'bench:') runs-on: ubuntu-latest name: "Bump version and create changelog with commitizen" steps: