Repository navigation
Skip scheduled workflows in forks that enable Actions - #76243
Merged
Merged
Conversation
potiuk
requested review from
amoghrajesh,
bugraoz93,
choo121600,
ephraimbuddy,
jason810496,
jedcunningham,
jscheffl and
vatsrahul1001
as code owners
November 1, 2026 18:51
justinpakzad
approved these changes
Nov 1, 2026
potiuk
enabled auto-merge (squash)
November 1, 2026 20:00
Contributors enable Actions on their forks for fork CI (AIP-120), and every cron in the repository then fires there as well. Unguarded scheduled workflows ran CodeQL and the maintenance jobs daily in each fork, using the contributor's minutes; GitHub has started disabling Actions on such forks as wasted compute. Generated-by: Claude Opus 5
potiuk
force-pushed
the
guard-fork-scheduled-workflows
branch
from
November 1, 2026 20:13
2321e85 to
00c77ca
Compare
shahar1
approved these changes
Nov 1, 2026
Contributor
Backport successfully created: v3-4-testNote: As of Merging PRs targeted for Airflow 3.X In matter of doubt please ask in #release-management Slack channel.
|
potiuk
added a commit
that referenced
this pull request
Nov 1, 2026
…6243) (#76253) Contributors enable Actions on their forks for fork CI (AIP-120), and every cron in the repository then fires there as well. Unguarded scheduled workflows ran CodeQL and the maintenance jobs daily in each fork, using the contributor's minutes; GitHub has started disabling Actions on such forks as wasted compute. (cherry picked from commit a5ab822) Generated-by: Claude Opus 5 Co-authored-by: Jarek Potiuk <jarek@potiuk.com>
1 task done
1 task done
vatsrahul1001
pushed a commit
that referenced
this pull request
Nov 4, 2026
…6243) (#76253) Contributors enable Actions on their forks for fork CI (AIP-120), and every cron in the repository then fires there as well. Unguarded scheduled workflows ran CodeQL and the maintenance jobs daily in each fork, using the contributor's minutes; GitHub has started disabling Actions on such forks as wasted compute. (cherry picked from commit a5ab822) Generated-by: Claude Opus 5 Co-authored-by: Jarek Potiuk <jarek@potiuk.com>
1 task done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Contributors enable Actions on their forks for fork CI (AIP-120), and every cron in the repository then fires in the fork too. The canaries already skip forks (
fork_schedule), and the high-frequency crons (spot-interruption-notice,auto-approve-workflow-runs,fork-ci-monitor,mirror-hardened-base-images) are already guarded. Ten other scheduled workflows were not, so CodeQL and the maintenance jobs ran daily in each enabled fork on the contributor's minutes. GitHub has started disabling Actions on such forks to reduce wasted compute.This adds a job-level
github.repository == 'apache/airflow'guard to them. Workflows with other triggers combine it withgithub.event_name != 'schedule', so pushes, pull requests and manual dispatches still run in forks. The fork CI document now says that new scheduled workflows need the same guard.Was generative AI tooling used to co-author this PR?
Generated-by: Claude Code (Claude Opus 5) following the guidelines
🤖 Generated with Claude Code