I have the following github action:
name: Create release
on:
push:
branches:
- master
jobs:
create-release:
if: "startsWith(github.event.head_commit.message, 'bump:')"
runs-on: ubuntu-latest
name: "Create release"
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: pipe-cd/actions-gh-release@v2.3.4
with:
release_file: '**/CHANGELOG.md'
token: ${{ secrets.GITHUB_TOKEN }}
When I push any commit to the repository that doesn't start with bump:, this github action shows as skipped and another github action runs in order to bump the version and create a changelog, that action pushes a commit that starts with bump:
but this is not triggered.
How can I solve this?
Thanks