mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-04-01 12:43:47 +00:00
[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`.
This commit is contained in:
parent
7db87a66b0
commit
01475dc29a
2
.github/workflows/issue-release-workflow.yml
vendored
2
.github/workflows/issue-release-workflow.yml
vendored
@ -70,7 +70,7 @@ jobs:
|
||||
if: >-
|
||||
(github.repository == 'llvm/llvm-project') &&
|
||||
!startswith(github.event.comment.body, '<!--IGNORE-->') &&
|
||||
contains(github.event.comment.body, '/branch')
|
||||
contains(github.event.comment.body, '/branch ')
|
||||
|
||||
steps:
|
||||
- name: Fetch LLVM sources
|
||||
|
Loading…
x
Reference in New Issue
Block a user