Skip to content

Commit 55787ea

Browse files
authored
Disable cron for forks (#383)
1 parent 9780ebb commit 55787ea

File tree

3 files changed

+9
-1
lines changed

3 files changed

+9
-1
lines changed

.github/workflows/apple.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ concurrency:
1313

1414
jobs:
1515
pythonbuild:
16+
if: ${{ github.repository_owner == 'indygreg' || github.event_name != 'schedule' }}
1617
runs-on: 'macos-13'
1718
steps:
1819
- uses: actions/checkout@v4
@@ -40,6 +41,7 @@ jobs:
4041
path: target/release/pythonbuild
4142

4243
build:
44+
if: ${{ github.repository_owner == 'indygreg' || github.event_name != 'schedule' }}
4345
strategy:
4446
fail-fast: false
4547
matrix:

.github/workflows/linux.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ concurrency:
1313

1414
jobs:
1515
pythonbuild:
16+
if: ${{ github.repository_owner == 'indygreg' || github.event_name != 'schedule' }}
1617
runs-on: ubuntu-22.04
1718
steps:
1819
- name: Install System Dependencies
@@ -45,6 +46,7 @@ jobs:
4546
path: target/release/pythonbuild
4647

4748
image:
49+
if: ${{ github.repository_owner == 'indygreg' || github.event_name != 'schedule' }}
4850
strategy:
4951
fail-fast: false
5052
matrix:
@@ -115,6 +117,7 @@ jobs:
115117
path: build/image-*
116118

117119
build:
120+
if: ${{ github.repository_owner == 'indygreg' || github.event_name != 'schedule' }}
118121
strategy:
119122
fail-fast: false
120123
matrix:
@@ -871,8 +874,9 @@ jobs:
871874

872875

873876
# GitHub enforces a limit of 256 entries per matrix, which we exceeded above
874-
# so the CPytho 3.13 jobs are split out
877+
# so the CPython 3.13 jobs are split out
875878
build-313:
879+
if: ${{ github.repository_owner == 'indygreg' || github.event_name != 'schedule' }}
876880
strategy:
877881
fail-fast: false
878882
matrix:

.github/workflows/windows.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ concurrency:
1313

1414
jobs:
1515
pythonbuild:
16+
if: ${{ github.repository_owner == 'indygreg' || github.event_name != 'schedule' }}
1617
runs-on: 'windows-2019'
1718
steps:
1819
- uses: actions/checkout@v4
@@ -40,6 +41,7 @@ jobs:
4041
path: target/release/pythonbuild.exe
4142

4243
build:
44+
if: ${{ github.repository_owner == 'indygreg' || github.event_name != 'schedule' }}
4345
strategy:
4446
fail-fast: false
4547
matrix:

0 commit comments

Comments
 (0)