From 369f1cf09a63e688bdf090d2479f0a4db9a37c5c Mon Sep 17 00:00:00 2001 From: Akhmad Maulana Akbar Date: Tue, 25 Jul 2023 15:57:07 +0700 Subject: [PATCH] patch: fix condition in actions to build self-update --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index deb2881..f1060df 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -15,7 +15,7 @@ jobs: outputs: bump_tag: ${{ steps.set_output.outputs.bump_tag }} old_pre_tag: ${{ steps.set_output.outputs.old_pre_tag }} - if: contains(fromJSON('["patch:","feat:","feat(bump):",":release:"]'), github.event.head_commit.message) + if: startsWith(github.event.head_commit.message, fromJSON('["patch:","feat:","feat(bump):"]')) steps: - uses: actions/checkout@v3 - name: Manage Version