Repository navigation
Conversation
main gets a ruleset that requires a PR and a passing ci-build check and exempts only deploy keys. Pass this repo's write deploy key to the shared update-version workflow so the post-publish version bump still reaches main. Also grants security-events: write to CI for the Trivy upload, where it was missing. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Summary
Same change already proven on Bounteous.Data.SQLite (published 0.0.2, and the version bump landed on protected
mainvia deploy key).mainis now protected by a ruleset: require a PR (0 approvals), requireci-build / build-and-test, block force-push and deletion. Only deploy keys are exempt.update-versionpasses this repo's write deploy key (UPDATE_VERSION_DEPLOY_KEY) to the shared workflow, so the post-publish version bump can still push tomain. Needs bounteous-dotnet-common-workflows#2 (merged).ci-build.ymlgetssecurity-events: writewhere it was missing, so the Trivy SARIF upload in the now-required CI check doesn't fail.After merge
Merging publishes a new patch version (no library code change). Expect a
[skip ci] Update version to x.y.z after NuGet publishcommit onmain, pushed via the deploy key.🤖 Generated with Claude Code