Use cloudsmith-bot for signed binding update PRs - #72
Merged
Conversation
There was a problem hiding this comment.
Pull request overview
Updates the update-bindings GitHub Actions workflow to comply with new org policy by keeping GITHUB_TOKEN read-only and performing all repository write operations (push/PR/cleanup) via the existing cloudsmith-bot PAT, while adding local SSH-based commit signing and enforcing “Verified” status for the PR’s head commits.
Changes:
- Downgrade workflow
GITHUB_TOKENpermissions tocontents: read, and switch checkout/PR/stale-PR cleanup to useCLOUDSMITH_BOT_TOKEN. - Add a credentials guard step to hard-fail if required bot secrets are missing.
- Configure local SSH commit signing for the bot, require GitHub to report commits as verified, and always clean up signing material from
$RUNNER_TEMP.
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
cloudsmith-iduffy
added a commit
that referenced
this pull request
Sep 9, 2026
…ot-pr-automation * origin/master: Use cloudsmith bot credentials for binding update automation (#72) Update Go API bindings to version 0.0.63 (#71) Update Go API bindings to version 0.0.62 (#69) add signing to workflow (#68) Update Go API bindings to version 0.0.61 (#65) chore(no-ticket): updating go version (#64) Update Go API bindings to version 0.0.60 (#63)
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.
Organization policy now prevents the Actions token from writing to repositories, blocking automated binding updates. Use the existing cloudsmith-bot account for repository writes while keeping GITHUB_TOKEN read-only.
The required Actions secrets have been added:
CLOUDSMITH_BOT_TOKEN,CLOUDSMITH_BOT_SSH_SIGNING_KEY, andCLOUDSMITH_BOT_EMAIL. The email is no longer hardcoded in workflow source, but remains part of Git commit metadata. Changes are limited to the bindings workflow.