[llvm-branch-commits] [llvm] release/20.x: workflows/premerge: Fix condition for macos job (#125237) (PR #125305)

via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Fri Jan 31 13:54:44 PST 2025


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-github-workflow

Author: None (llvmbot)

<details>
<summary>Changes</summary>

Backport 95c0c784ac9a91a8e12331ad9574ac6ad75318b1

Requested by: @<!-- -->tstellar

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


1 Files Affected:

- (modified) .github/workflows/premerge.yaml (+2-1) 


``````````diff
diff --git a/.github/workflows/premerge.yaml b/.github/workflows/premerge.yaml
index d7fa6718821861..91aa3eefde372c 100644
--- a/.github/workflows/premerge.yaml
+++ b/.github/workflows/premerge.yaml
@@ -139,8 +139,9 @@ jobs:
       group: ${{ github.workflow }}-macos-${{ github.event.pull_request.number || github.sha }}
       cancel-in-progress: true
     if: >-
+      github.repository_owner == 'llvm' &&
       (startswith(github.ref_name, 'release/') ||
-       startswith(github.base_ref, 'refs/heads/release/'))
+       startswith(github.base_ref, 'release/'))
     steps:
       - name: Checkout LLVM
         uses: actions/checkout at v4

``````````

</details>


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


More information about the llvm-branch-commits mailing list