[llvm] [Github] Do not restrict branches for CI workflows (PR #198925)

via llvm-commits llvm-commits at lists.llvm.org
Wed May 20 15:50:18 PDT 2026


llvmorg-github-actions[bot] wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-github-workflow

Author: Aiden Grossman (boomanaiden154)

<details>
<summary>Changes</summary>

This is covered in our CI best practices document in https://llvm.org/docs/CIBestPractices.html#ensuring-workflows-run-on-the-correct-events.

Otherwise we cannot run libc CI workflows on stacked pull requests.

---
Full diff: https://github.com/llvm/llvm-project/pull/198925.diff


3 Files Affected:

- (modified) .github/workflows/libc-freebsd-vm-tests.yml (-1) 
- (modified) .github/workflows/libc-fullbuild-tests.yml (-1) 
- (modified) .github/workflows/libc-overlay-tests.yml (-1) 


``````````diff
diff --git a/.github/workflows/libc-freebsd-vm-tests.yml b/.github/workflows/libc-freebsd-vm-tests.yml
index ff7ca952c61f9..0980f5a9eb420 100644
--- a/.github/workflows/libc-freebsd-vm-tests.yml
+++ b/.github/workflows/libc-freebsd-vm-tests.yml
@@ -4,7 +4,6 @@ permissions:
   contents: read
 on:
   pull_request:
-    branches: [ "main" ]
     paths:
       - 'libc/**'
       - '.github/workflows/libc-freebsd-vm-tests.yml'
diff --git a/.github/workflows/libc-fullbuild-tests.yml b/.github/workflows/libc-fullbuild-tests.yml
index 4a7cfa119b74c..7399cca3a7bf2 100644
--- a/.github/workflows/libc-fullbuild-tests.yml
+++ b/.github/workflows/libc-fullbuild-tests.yml
@@ -4,7 +4,6 @@ permissions:
   contents: read
 on:
   pull_request:
-    branches: [ "main" ]
     paths:
       - 'libc/**'
       - '.github/workflows/libc-fullbuild-tests.yml'
diff --git a/.github/workflows/libc-overlay-tests.yml b/.github/workflows/libc-overlay-tests.yml
index f63150983aa03..fa7184c73da92 100644
--- a/.github/workflows/libc-overlay-tests.yml
+++ b/.github/workflows/libc-overlay-tests.yml
@@ -4,7 +4,6 @@ permissions:
   contents: read
 on:
   pull_request:
-    branches: [ "main" ]
     paths:
       - 'libc/**'
       - '.github/workflows/libc-overlay-tests.yml'

``````````

</details>


https://github.com/llvm/llvm-project/pull/198925


More information about the llvm-commits mailing list