[llvm] [Github][libcxx] Run Container Build Workflow on Stacked PRs (PR #150683)

via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 25 12:11:29 PDT 2025


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-libcxx

Author: Aiden Grossman (boomanaiden154)

<details>
<summary>Changes</summary>

Currently the container build workflow does not run on stacked PRs that do not have a branch target of main because of how the workflow is configured. This makes the workflow better confirm to the LLVM CI best practices around Github workflows:

https://llvm.org/docs/CIBestPractices.html#ensuring-workflows-run-on-the-correct-events

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


1 Files Affected:

- (modified) .github/workflows/libcxx-build-containers.yml (-2) 


``````````diff
diff --git a/.github/workflows/libcxx-build-containers.yml b/.github/workflows/libcxx-build-containers.yml
index 564a79341edb1..f432e3ddd5d1e 100644
--- a/.github/workflows/libcxx-build-containers.yml
+++ b/.github/workflows/libcxx-build-containers.yml
@@ -18,8 +18,6 @@ on:
       - 'libcxx/utils/ci/**'
       - '.github/workflows/libcxx-build-containers.yml'
   pull_request:
-    branches:
-      - main
     paths:
       - 'libcxx/utils/ci/**'
       - '.github/workflows/libcxx-build-containers.yml'

``````````

</details>


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


More information about the llvm-commits mailing list