ci: replace path triggers with workflow_run cascade pipeline - #346
Merged
Conversation
Chain BATS workflows via workflow_run events so cloud tests only execute after VM tests pass, and VM tests only run after all quality gates (Pest, PHPStan, Pint, Rector, CI Canary) succeed. Each stage verifies upstream job conclusions before proceeding.
Contributor
|
No actionable comments were generated in the recent review. 🎉 📝 WalkthroughWalkthroughThree GitHub Actions workflows are restructured to implement a gating system. Cloud test workflows now depend on VM test workflow completion, and the VM test workflow depends on quality check workflows. All workflows transition from direct PR/push triggers to workflow_run events with explicit ref pinning and gate verification jobs. Changes
Possibly related PRs
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. Comment |
3 tasks
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
pull_request/pushpath filters withworkflow_runevent triggers, creating a sequential pipeline: Quality Gates → VM Tests → Cloud Tests (AWS + DO)actions/github-scriptbefore proceeding, skipping with a notice if prerequisites didn't succeedactions: readpermission and explicitref: head_shacheckout to ensure correct commit is tested underworkflow_runcontextTest plan