Skip to content

Commit 79b03ae

Browse files
authored
Skip tests-selfhosted-macos jobs on forked repositories (#465)
1 parent b804e6d commit 79b03ae

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

.github/workflows/62_snapshot_check.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ jobs:
3030
tests-selfhosted-macos:
3131
name: Test (Smoke Test - Nightly Swift Toolchain) / macOS Sequoia ARM64
3232
runs-on: [self-hosted, macos, sequoia, ARM64]
33+
if: ${{ github.repository == 'swiftlang/swiftly' }}
3334
steps:
3435
- name: Checkout repository
3536
uses: actions/checkout@v4

.github/workflows/nightly_snapshot_check.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ jobs:
3030
tests-selfhosted-macos:
3131
name: Test (Smoke Test - Nightly Swift Toolchain) / macOS Sequoia ARM64
3232
runs-on: [self-hosted, macos, sequoia, ARM64]
33+
if: ${{ github.repository == 'swiftlang/swiftly' }}
3334
steps:
3435
- name: Checkout repository
3536
uses: actions/checkout@v4

0 commit comments

Comments
 (0)