Skip to content

CI: skip builds and code checks when only docs or tooling change - #99

Merged
wogglesl-review[bot] merged 2 commits into
mainfrom
smart-checks
Dec 3, 2026
Merged

wogglesl-review[bot] merged 2 commits into
mainfrom
smart-checks

Conversation

@R3disme

@R3disme R3disme commented Dec 3, 2026

Copy link
Copy Markdown
Member

PRs that only touch documentation, the wiki map, review-bot scripts or other repository tooling no longer wait for full builds.

How it works

  • A small changes job (a few seconds) lists the changed files through the compare API and sets outputs.
  • Woggle build: the required Build linux-x86_64 / Build windows-x86_64 jobs still start (required checks must report), but when nothing build-relevant changed they finish green right away with "No build-relevant files changed". Skipped-as-irrelevant: *.md, docs/, tools/, .github/ (except this build workflow), LICENSE, _typos.toml, deny.toml, .gitignore. Anything else (code, assets, flags, Cargo files, packaging) builds as before.
  • Checks: fmt, clippy, test, unsafe and translations run only for Rust/Cargo changes; flag-lists only for flags/; zizmor only for workflow changes; cargo-deny and dependency-review only for dependency changes (cargo-deny still runs weekly). secrets and typos always run.
  • CodeQL: ignores Markdown/docs-only PRs.
  • Tags, manual runs, schedules, new branches and diffs over 300 files always run everything.

This PR changes workflows, so it runs the full set itself.

Wiki: not needed - CI only.

@R3disme
R3disme requested a review from a team as a code owner December 3, 2026 13:27
@R3disme R3disme added the In-Review Finished and waiting for a maintainer's review label Dec 3, 2026
Copilot AI balanced review requested due to automatic review settings December 3, 2026 13:27
@R3disme
R3disme requested a review from a team as a code owner December 3, 2026 13:27

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.

@wogglesl-review

Copy link
Copy Markdown

Queued for approval, waiting for the checks:

  • ⏳ Build linux-x86_64
  • ⏳ Build windows-x86_64
  • ✅ changes (not required)
  • ✅ codeql (actions) (not required)
  • ✅ wiki (not required)
  • ✅ changes (not required)
  • ⏳ codeql (rust) (not required)
  • ✅ screenshots out of date (not required)
  • ✅ Build macos-universal (not required)
  • ✅ secrets (not required)
  • ✅ Build flatpak-x86_64 (not required)
  • ✅ typos (not required)
  • ✅ fmt (not required)
  • ✅ clippy (not required)
  • ✅ test (not required)
  • ✅ cargo-deny (not required)
  • ✅ unsafe (not required)
  • ✅ dependency-review (not required)
  • ✅ workflows (not required)
  • ✅ translations (not required)
  • ✅ flag-lists (not required)
  • ✅ CodeQL (not required)

WoggleSL Review · requested by a maintainer from the review board

@wogglesl-review wogglesl-review Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Approved by a maintainer on the review board.

Checks

  • ✅ Build linux-x86_64
  • ✅ Build windows-x86_64
  • ✅ changes (not required)
  • ✅ codeql (actions) (not required)
  • ✅ wiki (not required)
  • ✅ changes (not required)
  • ⏳ codeql (rust) (not required)
  • ✅ screenshots out of date (not required)
  • ✅ Build macos-universal (not required)
  • ✅ secrets (not required)
  • ✅ Build flatpak-x86_64 (not required)
  • ✅ typos (not required)
  • ✅ fmt (not required)
  • ✅ clippy (not required)
  • ✅ Release (not required)
  • ✅ test (not required)
  • ✅ cargo-deny (not required)
  • ✅ unsafe (not required)
  • ✅ dependency-review (not required)
  • ✅ workflows (not required)
  • ✅ translations (not required)
  • ✅ flag-lists (not required)
  • ✅ CodeQL (not required)

Change: 4 files, +133 / -12, 2 commit(s) by @R3disme
Merges into: main without conflicts

WoggleSL Review · requested by a maintainer from the review board

@wogglesl-review
wogglesl-review Bot merged commit 0367ac6 into main Dec 3, 2026
23 checks passed
@wogglesl-review

Copy link
Copy Markdown

Squash-merged into main as 0367ac6.

WoggleSL Review · requested by a maintainer from the review board

@wogglesl-review
wogglesl-review Bot deleted the smart-checks branch December 3, 2026 13:34
@wogglesl-review wogglesl-review Bot removed the In-Review Finished and waiting for a maintainer's review label Dec 3, 2026
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