Open
Conversation
Makes for a leaner, cheaper CI setup. The `pull_request.types` only made sense when we were doing something different for drafts.
Contributor
There was a problem hiding this comment.
Pull request overview
Reduces CI workload/cost by tightening when several GitHub Actions workflows run, primarily via paths / paths-ignore filters on pull_request events.
Changes:
- Limit
symbols-checkto run on PRs that touch headers or the workflow itself. - Avoid running
spreadon PRs that only change CI config/docs/snap content (with exceptions). - Avoid running
close-snapon PRs that only change non-snap-related areas. - Limit
automatic-doc-checksto run only for Sphinx docs (and intended workflow changes).
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 4 comments.
| File | Description |
|---|---|
.github/workflows/symbols-check.yml |
Adds pull_request.paths filter to reduce unnecessary symbol-check runs. |
.github/workflows/spread.yml |
Adds pull_request.paths-ignore (with negations) to reduce Spread runs. |
.github/workflows/close-snap.yml |
Adds pull_request.paths-ignore so cleanup runs only when relevant. |
.github/workflows/automatic-doc-checks.yml |
Adds pull_request.paths filter to scope doc checks to Sphinx/doc changes. |
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
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.
What's new?
Makes for a leaner, cheaper CI setup. Required checks are actually fulfilled if the check is skipped.
The
pull_request.typesonly made sense when we were doing something different for drafts.How to test
CI
Checklist