[llvm] [Github] Build CI Containers in Stacked PRs (PR #149346)

via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 17 09:11:24 PDT 2025


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-github-workflow

Author: Aiden Grossman (boomanaiden154)

<details>
<summary>Changes</summary>

Currently the pull_request event on the build CI container workflows are restricted to main. This prevents building them on stacked PRs. This is a bit annoying because we do not get the CI to test that everything is working until all of the base PRs have landed and the target branch becomes main.

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


2 Files Affected:

- (modified) .github/workflows/build-ci-container-windows.yml (-2) 
- (modified) .github/workflows/build-ci-container.yml (-2) 


``````````diff
diff --git a/.github/workflows/build-ci-container-windows.yml b/.github/workflows/build-ci-container-windows.yml
index 59079f057d021..f76c69f29fb30 100644
--- a/.github/workflows/build-ci-container-windows.yml
+++ b/.github/workflows/build-ci-container-windows.yml
@@ -11,8 +11,6 @@ on:
       - .github/workflows/build-ci-container-windows.yml
       - '.github/workflows/containers/github-action-ci-windows/**'
   pull_request:
-    branches:
-      - main
     paths:
       - .github/workflows/build-ci-container-windows.yml
       - '.github/workflows/containers/github-action-ci-windows/**'
diff --git a/.github/workflows/build-ci-container.yml b/.github/workflows/build-ci-container.yml
index 3159aae32ca51..7f01264af8534 100644
--- a/.github/workflows/build-ci-container.yml
+++ b/.github/workflows/build-ci-container.yml
@@ -11,8 +11,6 @@ on:
       - .github/workflows/build-ci-container.yml
       - '.github/workflows/containers/github-action-ci/**'
   pull_request:
-    branches:
-      - main
     paths:
       - .github/workflows/build-ci-container.yml
       - '.github/workflows/containers/github-action-ci/**'

``````````

</details>


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


More information about the llvm-commits mailing list