ci: always run Tests workflow and gate jobs on changed paths#52
Merged
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #52 +/- ##
=======================================
Coverage 91.25% 91.25%
=======================================
Files 12 12
Lines 2070 2070
=======================================
Hits 1889 1889
Misses 181 181 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This was referenced Jul 21, 2026
Merged
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
Requiring
ci-gatein branch protection broke PRs whose changes don't match the Tests workflow'spaths:filters (e.g. some renovate PRs): the workflow never triggers, so the requiredci-gatecheck never appears and the PR is stuck. This removes the trigger-levelpaths:filters so the workflow always runs, and moves change detection into achangesjob (dorny/paths-filter) that gates thecheckandtestjobs individually. When nothing relevant changed, those jobs are skipped andci-gatestill reports success, so the required check always resolves. Same pattern as the Check workflow inapitally/cloud.Validation
This PR only touches the workflow file, which is itself in the filter, so
checkandtestrun here; the skipped-jobs path is exercised by PRs that don't touch the filtered paths once merged.Summary by cubic
Always run the Tests workflow so the required
ci-gatecheck always appears. Gatecheckandteston changed paths so irrelevant PRs skip work but still passci-gate.pathsfilters so the workflow always starts.changesjob usingdorny/paths-filterto detect relevant file changes.checkandtestonly when changes match (or onworkflow_dispatch);ci-gatedepends on them and reports success even when they’re skipped.Written for commit ad197d2. Summary will update on new commits.