ci: Fix the push to the release branch [skip ci]

This commit is contained in:
2024-11-25 17:47:10 -07:00
parent 7c88901185
commit 92362a5d8c
+6 -2
View File
@@ -38,7 +38,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.x" # Specify your required Python version
python-version: "3.10"
- name: Install Commitizen
run: |
@@ -49,6 +49,11 @@ jobs:
run: |
cz bump --yes --increment ${{ github.event.inputs.bump_type }}
- name: Stage and Commit Changes
run: |
git add .
git commit -m "chore: bump version using Commitizen"
- name: Push changes to a new branch
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -74,7 +79,6 @@ jobs:
# for more information
needs: bump
name: Release Crate
if: always()
runs-on: ubuntu-latest
steps:
- name: Check if actor is repository owner