From d1dcbafda2b42e247f794d040e0ac82c12637331 Mon Sep 17 00:00:00 2001 From: robe-rt Date: Mon, 20 Jan 2025 12:33:20 +0100 Subject: [PATCH] ci: fixed a bug in the commit message check --- .github/workflows/push.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/push.yaml b/.github/workflows/push.yaml index 7055e80..a318b1b 100644 --- a/.github/workflows/push.yaml +++ b/.github/workflows/push.yaml @@ -83,7 +83,7 @@ jobs: gh pr create --base ${{ github.ref_name }} --head "add-license-headers-${{ github.run_id }}" --title "style: add license headers" --body "This PR adds license headers to the affected files. Recommendation: Merge this PR using the rebase-merge method" upload_docker_images_job: - if: github.event.head_commit.committer.name == 'github-actions[bot]' || startsWith(github.event.head_commit.message.name, 'feat') || startsWith(github.event.head_commit.message.name, 'fix') + if: github.event.head_commit.committer.name == 'github-actions[bot]' || startsWith(github.event.head_commit.message, 'feat') || startsWith(github.event.head_commit.message, 'fix') name: Build, push and sign Docker images runs-on: ubuntu-latest permissions: