Skip to content

Skip build stages when only docs change (DEVOPS-713)#657

Merged
mmsmits merged 1 commit into
developfrom
feature/DEVOPS-706-skip-docs-only-build
May 4, 2026
Merged

Skip build stages when only docs change (DEVOPS-713)#657
mmsmits merged 1 commit into
developfrom
feature/DEVOPS-706-skip-docs-only-build

Conversation

@mmsmits

@mmsmits mmsmits commented May 4, 2026

Copy link
Copy Markdown
Member

Fixes: https://firely.atlassian.net/browse/DEVOPS-713

Summary

Adds the shared check-skip-stage.yml@templates gate 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 no docs/ folder; markdown files are README.md and .github/pull_request_template.md.

How it works

A new checkSkipStage runs first and sets a skip output variable. The build stage is gated on checkChanges.evaluateIgnorePatterns.skip != 'true'. Downstream stages (deploy_gitHub, deployToNuget) cascade-skip via their existing dependsOn chains plus default succeeded() condition.

Test plan

  • Verify a docs-only commit on this branch correctly skips the full pipeline.
  • Verify a code commit on this branch runs the full pipeline as before.

🤖 Generated with Claude Code

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]>
@mmsmits
mmsmits requested a review from Devyanichugh May 4, 2026 14:21
@mmsmits
mmsmits merged commit 46509f8 into develop May 4, 2026
3 checks passed
@mmsmits
mmsmits deleted the feature/DEVOPS-706-skip-docs-only-build branch May 4, 2026 14:36
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