Skip to content

Commit

Permalink
Disable cron for forks (#383)
Browse files Browse the repository at this point in the history
  • Loading branch information
hugovk authored Oct 29, 2024
1 parent 9780ebb commit 55787ea
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/apple.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ concurrency:

jobs:
pythonbuild:
if: ${{ github.repository_owner == 'indygreg' || github.event_name != 'schedule' }}
runs-on: 'macos-13'
steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -40,6 +41,7 @@ jobs:
path: target/release/pythonbuild

build:
if: ${{ github.repository_owner == 'indygreg' || github.event_name != 'schedule' }}
strategy:
fail-fast: false
matrix:
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ concurrency:

jobs:
pythonbuild:
if: ${{ github.repository_owner == 'indygreg' || github.event_name != 'schedule' }}
runs-on: ubuntu-22.04
steps:
- name: Install System Dependencies
Expand Down Expand Up @@ -45,6 +46,7 @@ jobs:
path: target/release/pythonbuild

image:
if: ${{ github.repository_owner == 'indygreg' || github.event_name != 'schedule' }}
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -115,6 +117,7 @@ jobs:
path: build/image-*

build:
if: ${{ github.repository_owner == 'indygreg' || github.event_name != 'schedule' }}
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -871,8 +874,9 @@ jobs:


# GitHub enforces a limit of 256 entries per matrix, which we exceeded above
# so the CPytho 3.13 jobs are split out
# so the CPython 3.13 jobs are split out
build-313:
if: ${{ github.repository_owner == 'indygreg' || github.event_name != 'schedule' }}
strategy:
fail-fast: false
matrix:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ concurrency:

jobs:
pythonbuild:
if: ${{ github.repository_owner == 'indygreg' || github.event_name != 'schedule' }}
runs-on: 'windows-2019'
steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -40,6 +41,7 @@ jobs:
path: target/release/pythonbuild.exe

build:
if: ${{ github.repository_owner == 'indygreg' || github.event_name != 'schedule' }}
strategy:
fail-fast: false
matrix:
Expand Down

0 comments on commit 55787ea

Please sign in to comment.