ci: Allow manually dispatching the master Checks workflow#911
Open
vdusek wants to merge 1 commit into
Open
Conversation
Adds `workflow_dispatch` to `CI (master)` so the `Checks` suite can be re-run manually on the same commit when the push-triggered run is lost — e.g. during a GitHub outage. The `doc_release` / `beta_release` jobs are gated on `github.event_name == 'push'` so manual dispatches only re-run the checks and never re-publish. The redundant `workflow_dispatch` trigger on `_checks.yaml` is removed: dispatching it directly produced check-run names without the `Checks /` prefix, so the `wait-for-checks` gate in the manual release workflows wouldn't recognize them anyway.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #911 +/- ##
==========================================
+ Coverage 87.01% 87.04% +0.03%
==========================================
Files 48 48
Lines 2942 2942
==========================================
+ Hits 2560 2561 +1
+ Misses 382 381 -1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
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.
Summary
Adds
workflow_dispatchtoCI (master)so theCheckssuite can be re-run manually on the same commit when the push-triggered run is lost — e.g. during a GitHub outage. Thedoc_release/beta_releasejobs are gated ongithub.event_name == 'push'so manual dispatches only re-run the checks and never re-publish.The redundant
workflow_dispatchtrigger on_checks.yamlis removed: dispatching it directly produced check-run names without theChecks /prefix, so thewait-for-checksgate in the manual release workflows wouldn't recognize them anyway.Mirrors apify/crawlee-python#1917.
How to use
When a push-triggered Checks run on
masteris missing, go to Actions → CI (master) → Run workflow onmaster. Once it succeeds, the manual release workflows'wait-for-checksgate will be satisfied.