Skip to content

Commit

Permalink
Disable cron schedule (#384)
Browse files Browse the repository at this point in the history
* Revert "Disable cron for forks (#383)"

This reverts commit 55787ea.

* Disable cron schedule

---------

Co-authored-by: Zanie Blue <[email protected]>
  • Loading branch information
hugovk and zanieb authored Oct 29, 2024
1 parent 6e1ce43 commit e8b031b
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 14 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/apple.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,13 @@ on:
push:
branches: [main]
pull_request:
schedule:
- cron: '13 11 * * *'

concurrency:
group: ${{ github.workflow }}-${{ github.ref_name }}-${{ github.event.pull_request.number || github.sha }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}

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

build:
if: ${{ github.repository_owner == 'indygreg' || github.event_name != 'schedule' }}
strategy:
fail-fast: false
matrix:
Expand Down
6 changes: 0 additions & 6 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,13 @@ on:
push:
branches: [main]
pull_request:
schedule:
- cron: '13 11 * * *'

concurrency:
group: ${{ github.workflow }}-${{ github.ref_name }}-${{ github.event.pull_request.number || github.sha }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}

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 @@ -46,7 +43,6 @@ jobs:
path: target/release/pythonbuild

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

build:
if: ${{ github.repository_owner == 'indygreg' || github.event_name != 'schedule' }}
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -876,7 +871,6 @@ jobs:
# GitHub enforces a limit of 256 entries per matrix, which we exceeded above
# 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
4 changes: 0 additions & 4 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,13 @@ on:
push:
branches: [main]
pull_request:
schedule:
- cron: '13 11 * * *'

concurrency:
group: ${{ github.workflow }}-${{ github.ref_name }}-${{ github.event.pull_request.number || github.sha }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}

jobs:
pythonbuild:
if: ${{ github.repository_owner == 'indygreg' || github.event_name != 'schedule' }}
runs-on: 'windows-2022'
steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -41,7 +38,6 @@ 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 e8b031b

Please sign in to comment.