Skip to content

Commit 01475dc

Browse files
authored
[github] Make branch workflow more robust (#66781)
Avoid false positives by requiring space after `/branch` command so the action won't trigger on diffs that include filenames like `.../BranchProbabilityInfo.cpp`.
1 parent 7db87a6 commit 01475dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/issue-release-workflow.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ jobs:
7070
if: >-
7171
(github.repository == 'llvm/llvm-project') &&
7272
!startswith(github.event.comment.body, '<!--IGNORE-->') &&
73-
contains(github.event.comment.body, '/branch')
73+
contains(github.event.comment.body, '/branch ')
7474
7575
steps:
7676
- name: Fetch LLVM sources

0 commit comments

Comments
 (0)