fix(ci): add docs-only paths-ignore to container and coverage workflows#1762
Merged
josecelano merged 1 commit intoMay 12, 2026
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #1762 +/- ##
========================================
Coverage 79.44% 79.44%
========================================
Files 369 369
Lines 27328 27328
Branches 27328 27328
========================================
Hits 21710 21710
Misses 5337 5337
Partials 281 281 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
The issue torrust#1743 implementation added paths-ignore rules to testing.yaml and os-compatibility.yaml but missed container.yaml and generate_coverage_pr.yaml. Docs-only pull requests (e.g. PR torrust#1760) were still triggering the container build and coverage jobs unnecessarily. Add the same paths-ignore exclusions to both workflows and update the docs-lint.yaml path-policy comment to accurately reflect which workflows carry the rule.
8b748b2 to
2b177a2
Compare
Member
Author
|
ACK 2b177a2 |
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.
Bug
Issue #1743 added
paths-ignorerules to the CI "docs-only fast path" fortesting.yamlandos-compatibility.yaml, but two workflows were missed:container.yaml— the container build jobgenerate_coverage_pr.yaml— the coverage report jobAs a result, docs-only pull requests (e.g. PR #1760) were still triggering the
container build and coverage jobs unnecessarily, wasting CI minutes and
delaying feedback.
Fix
Add the same
paths-ignoreexclusions to both workflows:Also update the path-policy comment in
docs-lint.yamlto accurately list allworkflows that carry the
paths-ignorerule (replacing the stale list thatmentioned
db-compatibility.yamlanddb-benchmarking.yaml, which are alreadyscoped to code paths via
paths:inclusion rules).Changed files
.github/workflows/container.yaml— Addedpaths-ignoreto bothpushandpull_requesttriggers, plus path-policy comment..github/workflows/generate_coverage_pr.yaml— Addedpaths-ignoreto thepull_requesttrigger, plus path-policy comment..github/workflows/docs-lint.yaml— Updated header comment to correctly list workflows that carrypaths-ignorerules.References