[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:03 PST 2025
https://github.com/llvmbot created https://github.com/llvm/llvm-project/pull/125305
Backport 95c0c784ac9a91a8e12331ad9574ac6ad75318b1
Requested by: @tstellar
>From f2e1acdcdafdf3e4eec8406f5ceeda883485917f Mon Sep 17 00:00:00 2001
From: Tom Stellard <tstellar at redhat.com>
Date: Fri, 31 Jan 2025 13:45:08 -0800
Subject: [PATCH] workflows/premerge: Fix condition for macos job (#125237)
(cherry picked from commit 95c0c784ac9a91a8e12331ad9574ac6ad75318b1)
---
.github/workflows/premerge.yaml | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
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
More information about the llvm-branch-commits
mailing list