ci: add breaking change guard to PR workflow#206
Merged
Conversation
Replace \git add -A\ with an explicit allowlist of expected generated paths (Generated/, external-spec/bundled/, spec-snapshots/) to prevent any unexpected files from being auto-committed to protected branches. Pin all devDependencies to exact versions (remove ^ ranges) so that \ pm ci\ is fully deterministic and a compromised semver-compatible release of camunda-schema-bundler or other deps cannot be silently picked up. Dependabot/Renovate will handle version bumps via PR review. Addresses camunda/security-testing-findings#66.
jwulf
approved these changes
May 18, 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.
Adds the shared
sdk-breaking-change-guardreusable workflow fromsdk-infrato PR CI. This fails the build when PR commits containBREAKING CHANGE:notes that would trigger an unintended major version bump via semantic-release.Changes
.github/workflows/ci.yml: Addedbreaking-change-guardjob (runs on PRs only)AGENTS.md: Documented breaking change commit conventions and the bypass labelBypass
Add the
breaking-change-approvedlabel to skip the guard for intentional breaking changes.Closes #205