From 661fba04a5f04a8550e58e2d5a63f49e28ab32a3 Mon Sep 17 00:00:00 2001 From: Dart2112 Date: Sat, 25 Jan 2025 18:06:29 +1030 Subject: [PATCH] Quick fix to GitHub Action Made it safer to use the trigger word in commits by only checking if the message starts with it --- .github/workflows/publish-updates.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish-updates.yml b/.github/workflows/publish-updates.yml index d39179e..e4625e7 100644 --- a/.github/workflows/publish-updates.yml +++ b/.github/workflows/publish-updates.yml @@ -8,7 +8,7 @@ on: jobs: publish: runs-on: ubuntu-latest - if: "contains(github.event.head_commit.message, 'Update')" + if: "startsWith(github.event.head_commit.message, 'Update ')" permissions: contents: write