diff --git a/.github/workflows/semantic-release.yml b/.github/workflows/semantic-release.yml index dd63d50..f624d70 100644 --- a/.github/workflows/semantic-release.yml +++ b/.github/workflows/semantic-release.yml @@ -23,7 +23,7 @@ jobs: steps: - name: Triggered by new release run: | - if: startsWith(github.event.head_commit.message, '[0-9]+.[0-9]+.[0-9]+') + if [[ ${{ startsWith(github.event.head_commit.message, '[0-9]+.[0-9]+.[0-9]+') }} ]]; then echo "${{ github.event.head_commit.message }}" echo "Foo"