From 3faad0b5d8f98776e7c17e77849ddaed42ec463e Mon Sep 17 00:00:00 2001 From: James Le Cuirot Date: Fri, 14 Nov 2025 10:22:19 +0000 Subject: [PATCH] github: Fix PR command dispatcher logic so it doesn't always trigger Signed-off-by: James Le Cuirot --- .github/workflows/pr-comment-build-dispatcher.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pr-comment-build-dispatcher.yaml b/.github/workflows/pr-comment-build-dispatcher.yaml index caa80c21d3..489dea1bf1 100644 --- a/.github/workflows/pr-comment-build-dispatcher.yaml +++ b/.github/workflows/pr-comment-build-dispatcher.yaml @@ -13,7 +13,7 @@ concurrency: jobs: run_pre_checks: # Only run if this is a PR comment that contains a valid command - if: ${{ github.event.issue.pull_request }} && ( contains(github.event.comment.body, '/build-image') || contains(github.event.comment.body, '/update-sdk')) + if: ${{ github.event.issue.pull_request && (contains(github.event.comment.body, '/build-image') || contains(github.event.comment.body, '/update-sdk')) }} name: Check if commenter is in the Flatcar maintainers team outputs: maintainers: steps.step1.output.maintainers