Skip to content

ci: skip the build and the Blazor smoke test for Markdown-only changes - #451

Merged
jafin merged 1 commit into
mainfrom
ci/skip-builds-for-markdown
Nov 27, 2026
Merged

jafin merged 1 commit into
mainfrom
ci/skip-builds-for-markdown

Conversation

@jafin

@jafin jafin commented Nov 27, 2026

Copy link
Copy Markdown
Contributor

Why

A pull request that changes only Markdown, such as a design note or the changelog, ran the whole build and test suite. That took about 32 minutes on #449's run. No project compiles a .md file.

What changes

  • build-and-test.yml sets paths-ignore: '**/*.md' on both push and pull_request. The workflow is skipped only when every changed file is Markdown, so a change that also touches anything else is built as before.
  • blazor-wasm-smoke.yml adds '!**/*.md' after 'src/**', so Markdown under src/ no longer triggers the smoke test.
  • docs.yml is unchanged. The site's Markdown is what that workflow builds.

Safe to merge with skipped checks

The only active ruleset on main blocks deletion and non-fast-forward pushes. It requires no status checks. A skipped workflow therefore cannot leave a required check pending and block a merge. The comment in build-and-test.yml says so, for the day a required check is added.

Testing

Both workflows run on this PR, because it changes .yml files. That run is the check that GitHub parses them. The skip itself can only be seen after this merges: a Markdown-only PR such as #450, rebased on main, should start neither workflow.

…ly Markdown

A pull request that changed a design note or the changelog ran the
whole build and test suite, half an hour on the runner, though no
project compiles a .md file. The build now ignores Markdown paths, and
the smoke test's src/** filter no longer counts Markdown under src.

A change that touches any other file is built as before. No ruleset
requires these checks, so a skipped run cannot hold a merge pending.
docs.yml is left alone: the site's Markdown is what it builds.
@coderabbitai

coderabbitai Bot commented Nov 27, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: d6f52adb-05a0-484e-8502-3ef95b40e980

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@github-actions github-actions Bot added the chore Build, CI, refactoring, tests or other housekeeping label Nov 27, 2026
@jafin
jafin merged commit 6d12bc0 into main Nov 27, 2026
4 checks passed
@jafin
jafin deleted the ci/skip-builds-for-markdown branch November 27, 2026 00:21
@sonarqubecloud

Copy link
Copy Markdown

@codecov

codecov Bot commented Nov 27, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore Build, CI, refactoring, tests or other housekeeping

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant