Skip to content

Commit c228d8e

Browse files
committed
Make some CI conditional for forks
1 parent 64702fe commit c228d8e

16 files changed

+19
-4
lines changed

.github/workflows/benchmarks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
4848
build:
4949
name: Benchmarks
50-
runs-on: benchmark
50+
runs-on: ${{ github.repository_owner == 'Chia-Network' && 'benchmark' || 'ubuntu-latest' }}
5151
needs:
5252
- setup
5353
container:

.github/workflows/build-macos-installers.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ jobs:
5757
name: intel
5858
bladebit-suffix: macos-x86-64.tar.gz
5959
arch-artifact-name: intel
60-
- runs-on: macos-13-arm64
60+
- runs-on: ${{ github.repository_owner == 'Chia-Network' && 'macos-13-arm64' || 'macos-14' }}
6161
name: m1
6262
bladebit-suffix: macos-arm64.tar.gz
6363
arch-artifact-name: arm

.github/workflows/check-commit-signing.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ concurrency:
1616

1717
jobs:
1818
check-commit-signing:
19+
if: github.repository_owner == 'Chia-Network'
1920
name: Check commit signing
2021
runs-on: [ubuntu-latest]
2122
timeout-minutes: 5

.github/workflows/check_wheel_availability.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
matrix: macos
3434
runs-on:
3535
intel: macos-13
36-
arm: macos-13-arm64
36+
arm: ${{ github.repository_owner == 'Chia-Network' && 'macos-13-arm64' || 'macos-14' }}
3737
- name: Windows
3838
matrix: windows
3939
runs-on:

.github/workflows/codeql-analysis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ concurrency:
2929

3030
jobs:
3131
analyze:
32+
if: github.repository_owner == 'Chia-Network'
3233
name: Analyze
3334
runs-on: ubuntu-latest
3435

.github/workflows/dependency-review.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ permissions:
1313

1414
jobs:
1515
dependency-review:
16+
if: github.repository_owner == 'Chia-Network'
1617
runs-on: ubuntu-latest
1718
steps:
1819
- name: "Checkout Repository"

.github/workflows/reflow-publish-installer.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ permissions:
2727

2828
jobs:
2929
publish:
30+
if: github.repository_owner == 'Chia-Network'
3031
name: Publish ${{ matrix.arch.name }} ${{ matrix.mode.name }} ${{ matrix.os.file-type.name }}
3132
runs-on: ubuntu-latest
3233
timeout-minutes: 5

.github/workflows/reflow-version.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ on:
1818

1919
jobs:
2020
version:
21+
if: github.repository_owner == 'Chia-Network'
2122
name: identify version
2223
runs-on: ubuntu-latest
2324
timeout-minutes: 5

.github/workflows/require-labels.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44
types: [opened, labeled, unlabeled, synchronize]
55
jobs:
66
check-labels:
7+
if: github.repository_owner == 'Chia-Network'
78
runs-on: ubuntu-latest
89
permissions:
910
checks: write

.github/workflows/stale-issue.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ on:
55

66
jobs:
77
stale:
8+
if: github.repository_owner == 'Chia-Network'
89
runs-on: ubuntu-latest
910
steps:
1011
- uses: actions/stale@v9

0 commit comments

Comments
 (0)