[llvm] [github] Make branch workflow more robust (PR #66781)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 19 07:49:41 PDT 2023
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-github-workflow
<details>
<summary>Changes</summary>
Avoid false positives by requiring space after `/branch` command so the action won't trigger on diffs that include filenames like `.../BranchProbabilityInfo.cpp`.
---
Full diff: https://github.com/llvm/llvm-project/pull/66781.diff
1 Files Affected:
- (modified) .github/workflows/issue-release-workflow.yml (+1-1)
``````````diff
diff --git a/.github/workflows/issue-release-workflow.yml b/.github/workflows/issue-release-workflow.yml
index bd6d09cc65e0857..b09ef6555fa9017 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, '<!--IGNORE-->') &&
- contains(github.event.comment.body, '/branch')
+ contains(github.event.comment.body, '/branch ')
steps:
- name: Fetch LLVM sources
``````````
</details>
https://github.com/llvm/llvm-project/pull/66781
More information about the llvm-commits
mailing list