Repository navigation
Skip build and test jobs for Markdown-only pushes to a passing PR - #2942
Merged
Merged
Conversation
bitsandfoxes
marked this pull request as ready for review
November 11, 2026 13:41
bitsandfoxes
requested review from
a team,
jpnurmi,
limbonaut and
tustanivsky
November 11, 2026 13:41
Collaborator
|
Ooh, nice! Could it be a globs-configurable composite action in github-workflows? |
JoshuaMoelans
approved these changes
Nov 11, 2026
JoshuaMoelans
left a comment
Member
There was a problem hiding this comment.
nice, I tried doing something in getsentry/sentry-native#1235 but back then I couldn't get it to work. maybe like J-P says, makes sense to integrate this org-wide 👀
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.
A push to a PR that only changes Markdown files still runs the full CI:
paths-ignoreis matched against the whole PR diff, so a CHANGELOG fix-up on a code PR rebuilds and tests everything.A new
changesjob inci.ymldecides whether to run the build and test jobs. It skips them when the push is to an open PR, CI passed on the previous head, the new head is strictly ahead of it (no force-push that dropped commits), and every file changed since is a.mdfile outsidepackage*/. Markdown underpackage/andpackage-dev/ships in the UPM package, so it still runs the package validation. A failed GitHub API call falls back to running everything.The gate sits on
sdk,build-unity-sdk,package-validationandtest-create; all other build and test jobs depend on these and skip with them. A skipped run says why in its job summary. Push andworkflow_dispatchruns are unaffected.#skip-changelog
🤖 Generated with Claude Code