Skip to content

ci: avoid unnecessary runs#4801

Open
Saviq wants to merge 2 commits intomainfrom
ci-burn-less
Open

ci: avoid unnecessary runs#4801
Saviq wants to merge 2 commits intomainfrom
ci-burn-less

Conversation

@Saviq
Copy link
Contributor

@Saviq Saviq commented Mar 26, 2026

What's new?

Makes for a leaner, cheaper CI setup. Required checks are actually fulfilled if the check is skipped.

The pull_request.types only made sense when we were doing something different for drafts.

How to test

CI

Checklist

  • Tests added and pass
  • Adequate documentation added
  • (optional) Added Screenshots or videos

Makes for a leaner, cheaper CI setup.

The `pull_request.types` only made sense when we were doing something
different for drafts.
@Saviq Saviq requested a review from a team as a code owner March 26, 2026 18:33
Copilot AI review requested due to automatic review settings March 26, 2026 18:33
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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-check to run on PRs that touch headers or the workflow itself.
  • Avoid running spread on PRs that only change CI config/docs/snap content (with exceptions).
  • Avoid running close-snap on PRs that only change non-snap-related areas.
  • Limit automatic-doc-checks to 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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants