Skip build stages when only docs change (DEVOPS-713)#657
Merged
Conversation
Adds the shared check-skip-stage gate so docs-only commits no longer trigger the full build/deploy chain. Mirrors the pattern just rolled out across Vonk, Firely.Auth, firely-net-sdk, firely-car, firely-cql-sdk and Firely.Fhir.Packages. Pattern: .+\.md$ — this repo has no docs/ folder; markdown files are README.md and .github/pull_request_template.md. Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
andrzejskowronski
approved these changes
May 4, 2026
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.
Fixes: https://firely.atlassian.net/browse/DEVOPS-713
Summary
Adds the shared
check-skip-stage.yml@templatesgate so docs-only commits no longer trigger the full build/deploy chain. Replaces what would have been the equivalent change in the deprecated Firely.Validator repo (FirelyTeam/Firely.Validator#27 closed).Same pattern just rolled out across Vonk (FirelyTeam/Vonk#3075), Firely.Auth (FirelyTeam/Firely.Auth#1889), firely-net-sdk (FirelyTeam/firely-net-sdk#3496), firely-car (FirelyTeam/firely-car#388), firely-cql-sdk (FirelyTeam/firely-cql-sdk#1246) and Firely.Fhir.Packages (FirelyTeam/Firely.Fhir.Packages#202).
Ignore pattern:
.+\.md$— this repo has nodocs/folder; markdown files areREADME.mdand.github/pull_request_template.md.How it works
A new
checkSkipStageruns first and sets askipoutput variable. Thebuildstage is gated oncheckChanges.evaluateIgnorePatterns.skip != 'true'. Downstream stages (deploy_gitHub,deployToNuget) cascade-skip via their existingdependsOnchains plus defaultsucceeded()condition.Test plan
🤖 Generated with Claude Code