From d2f2c07089f2c67c9203587793634c11d757be26 Mon Sep 17 00:00:00 2001 From: Danila Malyutin Date: Tue, 19 Sep 2023 17:29:16 +0300 Subject: [PATCH] [github] Make branch workflow more robust Avoid false positives by requiring space after `/branch` command so the action won't trigger on diffs that include filenames like `.../BranchProbabilityInfo.cpp`. --- .github/workflows/issue-release-workflow.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/issue-release-workflow.yml b/.github/workflows/issue-release-workflow.yml index bd6d09cc65e08..b09ef6555fa90 100644 --- a/.github/workflows/issue-release-workflow.yml +++ b/.github/workflows/issue-release-workflow.yml @@ -70,7 +70,7 @@ jobs: if: >- (github.repository == 'llvm/llvm-project') && !startswith(github.event.comment.body, '') && - contains(github.event.comment.body, '/branch') + contains(github.event.comment.body, '/branch ') steps: - name: Fetch LLVM sources