Skip to content

[v3-4-test] Add a prek hook to keep scheduled workflows skipping in forks (#76267) - #77104

Merged
potiuk merged 1 commit into
v3-4-testfrom
backport-71f6e9b-v3-4-test
Nov 15, 2026
Merged

potiuk merged 1 commit into
v3-4-testfrom
backport-71f6e9b-v3-4-test

Conversation

@github-actions

Copy link
Copy Markdown
Contributor
  • Add a prek hook to keep scheduled workflows skipping in forks

  • Accept a scheduled job that requires a guarded job to succeed

A job whose condition uses a status function such as !cancelled() still
skips in forks when the condition also requires a guarded job it needs to
have succeeded, as trigger-upgrade-check in
mirror-hardened-base-images.yml does, so the check no longer reports it.
The docstring also no longer says ci-arm.yml runs in forks on push.

Generated-by: Claude Opus 5


(cherry picked from commit 71f6e9b)

Co-authored-by: Justin Pakzad 114518232+justinpakzad@users.noreply.github.com
Co-authored-by: Jarek Potiuk jarek@potiuk.com

…orks (#76267)

* Add a prek hook to keep scheduled workflows skipping in forks

* Accept a scheduled job that requires a guarded job to succeed

A job whose condition uses a status function such as `!cancelled()` still
skips in forks when the condition also requires a guarded job it needs to
have succeeded, as `trigger-upgrade-check` in
mirror-hardened-base-images.yml does, so the check no longer reports it.
The docstring also no longer says ci-arm.yml runs in forks on push.

Generated-by: Claude Opus 5

---------
(cherry picked from commit 71f6e9b)

Co-authored-by: Justin Pakzad <114518232+justinpakzad@users.noreply.github.com>
Co-authored-by: Jarek Potiuk <jarek@potiuk.com>
@potiuk
potiuk marked this pull request as ready for review November 15, 2026 05:52
@potiuk
potiuk merged commit 6b3c99c into v3-4-test Nov 15, 2026
33 of 47 checks passed
@potiuk
potiuk deleted the backport-71f6e9b-v3-4-test branch November 15, 2026 05:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants