Repository navigation
[v3-4-test] Check that the fork's GitHub Actions can run in breeze ci audit (#76136) - #76307
Merged
Merged
Conversation
1 task done
vatsrahul1001
force-pushed
the
v3-4-test
branch
from
November 4, 2026 09:12
10eae22 to
e63e6bb
Compare
vatsrahul1001
force-pushed
the
backport-1d5644d-v3-4-test
branch
from
November 4, 2026 09:30
55cbc3f to
93908df
Compare
shahar1
marked this pull request as ready for review
November 6, 2026 15:29
shahar1
requested review from
amoghrajesh,
ashb,
bugraoz93,
choo121600,
ephraimbuddy,
gopidesupavan,
jason810496,
jedcunningham,
jscheffl,
potiuk and
vatsrahul1001
as code owners
November 6, 2026 15:29
… audit (#76136) * Check the fork's GitHub Actions settings in breeze ci audit breeze ci audit checked only that the fork's ci-amd.yml workflow is active. A workflow can be active while GitHub Actions is disabled for the whole fork: then a push starts no run, and the audit still said ok. Actions can also allow only the owner's actions or a selected list: ci-amd.yml uses actions from other repositories, so its runs fail before any job starts. For a contributor who needs fork CI, the audit now reads the fork's Actions settings and fails when Actions is disabled or limited, with the command that enables all actions. Only the fork's owner can read these settings, so the fork CI monitor cannot check them. * Report fork Actions settings whatever the CI workflow's state Check 5 used the Actions settings only when Tests (AMD) was active. A fork whose workflow was inactive, or whose workflow could not be read, was never told that Actions was disabled or limited. Enabling the workflow alone still left it unable to run, and the Actions problem showed up only on a later audit, if at all. Generated-by: Claude Opus 5 * Detect a fork paused by GitHub and its idle workflows in breeze ci audit GitHub can pause GitHub Actions in a fork to reduce wasted compute. The fork's settings then still read as enabled and ci-amd.yml as active, so check 5 passed while no push started a run. Check 5 now dispatches ci-amd.yml to a ref that cannot exist: GitHub answers "No ref found" when Actions can run and "Actions has been disabled" when it is paused. Git does not allow ".." in a ref name, so the dispatch never starts a run. A fork that enables Actions also gets every cron of the repository, and each one starts a run there even when its jobs are skipped. The new check 8 lists the workflows that only a schedule or another workflow's run starts, and --fix disables the ones still active in the fork. Fork CI runs on push and does not need them. --------- (cherry picked from commit 1d5644d) Co-authored-by: Andrew Chang <69671930+Andrushika@users.noreply.github.com> Co-authored-by: Jarek Potiuk <jarek@potiuk.com>
shahar1
force-pushed
the
backport-1d5644d-v3-4-test
branch
from
November 6, 2026 15:29
93908df to
11ee3a5
Compare
shahar1
approved these changes
Nov 6, 2026
shahar1
enabled auto-merge (squash)
November 6, 2026 15:30
vatsrahul1001
pushed a commit
that referenced
this pull request
Nov 9, 2026
… audit (#76136) (#76307) * Check the fork's GitHub Actions settings in breeze ci audit breeze ci audit checked only that the fork's ci-amd.yml workflow is active. A workflow can be active while GitHub Actions is disabled for the whole fork: then a push starts no run, and the audit still said ok. Actions can also allow only the owner's actions or a selected list: ci-amd.yml uses actions from other repositories, so its runs fail before any job starts. For a contributor who needs fork CI, the audit now reads the fork's Actions settings and fails when Actions is disabled or limited, with the command that enables all actions. Only the fork's owner can read these settings, so the fork CI monitor cannot check them. * Report fork Actions settings whatever the CI workflow's state Check 5 used the Actions settings only when Tests (AMD) was active. A fork whose workflow was inactive, or whose workflow could not be read, was never told that Actions was disabled or limited. Enabling the workflow alone still left it unable to run, and the Actions problem showed up only on a later audit, if at all. Generated-by: Claude Opus 5 * Detect a fork paused by GitHub and its idle workflows in breeze ci audit GitHub can pause GitHub Actions in a fork to reduce wasted compute. The fork's settings then still read as enabled and ci-amd.yml as active, so check 5 passed while no push started a run. Check 5 now dispatches ci-amd.yml to a ref that cannot exist: GitHub answers "No ref found" when Actions can run and "Actions has been disabled" when it is paused. Git does not allow ".." in a ref name, so the dispatch never starts a run. A fork that enables Actions also gets every cron of the repository, and each one starts a run there even when its jobs are skipped. The new check 8 lists the workflows that only a schedule or another workflow's run starts, and --fix disables the ones still active in the fork. Fork CI runs on push and does not need them. --------- (cherry picked from commit 1d5644d) Co-authored-by: Andrew Chang <69671930+Andrushika@users.noreply.github.com> Co-authored-by: Jarek Potiuk <jarek@potiuk.com>
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.
breeze ci audit checked only that the fork's ci-amd.yml workflow is
active. A workflow can be active while GitHub Actions is disabled for
the whole fork: then a push starts no run, and the audit still said ok.
Actions can also allow only the owner's actions or a selected list:
ci-amd.yml uses actions from other repositories, so its runs fail
before any job starts.
For a contributor who needs fork CI, the audit now reads the fork's
Actions settings and fails when Actions is disabled or limited, with
the command that enables all actions. Only the fork's owner can read
these settings, so the fork CI monitor cannot check them.
Check 5 used the Actions settings only when Tests (AMD) was active.
A fork whose workflow was inactive, or whose workflow could not be read,
was never told that Actions was disabled or limited. Enabling the
workflow alone still left it unable to run, and the Actions problem
showed up only on a later audit, if at all.
Generated-by: Claude Opus 5
GitHub can pause GitHub Actions in a fork to reduce wasted compute.
The fork's settings then still read as enabled and ci-amd.yml as
active, so check 5 passed while no push started a run. Check 5 now
dispatches ci-amd.yml to a ref that cannot exist: GitHub answers "No
ref found" when Actions can run and "Actions has been disabled" when
it is paused. Git does not allow ".." in a ref name, so the dispatch
never starts a run.
A fork that enables Actions also gets every cron of the repository,
and each one starts a run there even when its jobs are skipped. The
new check 8 lists the workflows that only a schedule or another
workflow's run starts, and --fix disables the ones still active in
the fork. Fork CI runs on push and does not need them.
(cherry picked from commit 1d5644d)
Co-authored-by: Andrew Chang 69671930+Andrushika@users.noreply.github.com
Co-authored-by: Jarek Potiuk jarek@potiuk.com