ci: Fix the push to the release branch [skip ci]
This commit is contained in:
@@ -38,7 +38,7 @@ jobs:
|
|||||||
- name: Set up Python
|
- name: Set up Python
|
||||||
uses: actions/setup-python@v4
|
uses: actions/setup-python@v4
|
||||||
with:
|
with:
|
||||||
python-version: "3.x" # Specify your required Python version
|
python-version: "3.10"
|
||||||
|
|
||||||
- name: Install Commitizen
|
- name: Install Commitizen
|
||||||
run: |
|
run: |
|
||||||
@@ -49,6 +49,11 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
cz bump --yes --increment ${{ github.event.inputs.bump_type }}
|
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
|
- name: Push changes to a new branch
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
@@ -74,7 +79,6 @@ jobs:
|
|||||||
# for more information
|
# for more information
|
||||||
needs: bump
|
needs: bump
|
||||||
name: Release Crate
|
name: Release Crate
|
||||||
if: always()
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Check if actor is repository owner
|
- name: Check if actor is repository owner
|
||||||
|
|||||||
Reference in New Issue
Block a user