From 68318841056bd9a11c446a73796ad1b80257478a Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Date: Tue, 29 Oct 2024 15:34:48 +0200 Subject: [PATCH 1/2] Revert "Disable cron for forks (#383)" This reverts commit 55787eac11ac14f5c564c47d77a9e8d43e24cc89. --- .github/workflows/apple.yml | 2 -- .github/workflows/linux.yml | 6 +----- .github/workflows/windows.yml | 2 -- 3 files changed, 1 insertion(+), 9 deletions(-) diff --git a/.github/workflows/apple.yml b/.github/workflows/apple.yml index fdcdc597..9812d4d1 100644 --- a/.github/workflows/apple.yml +++ b/.github/workflows/apple.yml @@ -13,7 +13,6 @@ concurrency: jobs: pythonbuild: - if: ${{ github.repository_owner == 'indygreg' || github.event_name != 'schedule' }} runs-on: 'macos-13' steps: - uses: actions/checkout@v4 @@ -41,7 +40,6 @@ jobs: path: target/release/pythonbuild build: - if: ${{ github.repository_owner == 'indygreg' || github.event_name != 'schedule' }} strategy: fail-fast: false matrix: diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index f8085edf..2093ebc3 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -13,7 +13,6 @@ concurrency: jobs: pythonbuild: - if: ${{ github.repository_owner == 'indygreg' || github.event_name != 'schedule' }} runs-on: ubuntu-22.04 steps: - name: Install System Dependencies @@ -46,7 +45,6 @@ jobs: path: target/release/pythonbuild image: - if: ${{ github.repository_owner == 'indygreg' || github.event_name != 'schedule' }} strategy: fail-fast: false matrix: @@ -117,7 +115,6 @@ jobs: path: build/image-* build: - if: ${{ github.repository_owner == 'indygreg' || github.event_name != 'schedule' }} strategy: fail-fast: false matrix: @@ -874,9 +871,8 @@ jobs: # GitHub enforces a limit of 256 entries per matrix, which we exceeded above - # so the CPython 3.13 jobs are split out + # so the CPytho 3.13 jobs are split out build-313: - if: ${{ github.repository_owner == 'indygreg' || github.event_name != 'schedule' }} strategy: fail-fast: false matrix: diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 6410b7cb..592efe78 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -13,7 +13,6 @@ concurrency: jobs: pythonbuild: - if: ${{ github.repository_owner == 'indygreg' || github.event_name != 'schedule' }} runs-on: 'windows-2019' steps: - uses: actions/checkout@v4 @@ -41,7 +40,6 @@ jobs: path: target/release/pythonbuild.exe build: - if: ${{ github.repository_owner == 'indygreg' || github.event_name != 'schedule' }} strategy: fail-fast: false matrix: From 1a9ca966fae770d1bff343ba83367d77d9e3c406 Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Date: Tue, 29 Oct 2024 15:35:41 +0200 Subject: [PATCH 2/2] Disable cron schedule --- .github/workflows/apple.yml | 2 -- .github/workflows/linux.yml | 2 -- .github/workflows/windows.yml | 2 -- 3 files changed, 6 deletions(-) diff --git a/.github/workflows/apple.yml b/.github/workflows/apple.yml index 9812d4d1..afe7add3 100644 --- a/.github/workflows/apple.yml +++ b/.github/workflows/apple.yml @@ -4,8 +4,6 @@ on: push: branches: [main] pull_request: - schedule: - - cron: '13 11 * * *' concurrency: group: ${{ github.workflow }}-${{ github.ref_name }}-${{ github.event.pull_request.number || github.sha }} diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 2093ebc3..daf1b84e 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -4,8 +4,6 @@ on: push: branches: [main] pull_request: - schedule: - - cron: '13 11 * * *' concurrency: group: ${{ github.workflow }}-${{ github.ref_name }}-${{ github.event.pull_request.number || github.sha }} diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 592efe78..4246439e 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -4,8 +4,6 @@ on: push: branches: [main] pull_request: - schedule: - - cron: '13 11 * * *' concurrency: group: ${{ github.workflow }}-${{ github.ref_name }}-${{ github.event.pull_request.number || github.sha }}