chore: add release-please automation and replace coana with socket#89
Merged
chore: add release-please automation and replace coana with socket#89
Conversation
Greptile SummaryThis PR wires up a fully automated release pipeline for Key changes:
Confidence Score: 4/5
Important Files Changed
Sequence DiagramsequenceDiagram
participant Dev as Developer
participant GH as GitHub (main branch)
participant RP as release-please-action
participant Bot as SDK Bot (GitHub App)
participant Release as release.yml
participant NPM as npm registry
Dev->>GH: Push conventional commit to main
GH->>RP: Trigger release-please.yml
RP->>Bot: Generate GitHub App token
Bot-->>RP: Token
RP->>GH: Create/update Release PR (changelog + version bump)
Note over GH: Developer merges Release PR
GH->>RP: Trigger release-please.yml again
RP->>GH: Detect merged release PR → create GitHub Release + tag
RP-->>RP: release_created = true
RP->>Release: Call release.yml (secrets: inherit)
Release->>GH: actions/checkout@v6
Release->>Release: npm install + npm run build
Release->>NPM: npm publish --tag latest --provenance --no-git-checks
Reviews (2): Last reviewed commit: "fix: add secrets inherit and fix publish..." | Re-trigger Greptile |
Member
Author
gjtorikian
approved these changes
Mar 24, 2026
gjtorikian
left a comment
There was a problem hiding this comment.
Same comment as elsewhere:
- we should add renovate.json here (a la node) to update deps. I think the bot is already installed?
- I think we absolutely need to run
pinact runto pin all the GitHub Actions to a specific SHA. Yet another GitHub Actions tag attack occurred and pinning to a SHA is no longer a best practice, but outright necessary.
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
bump-minor-pre-major,bump-patch-for-minor-pre-major)Test plan
SDK_BOT_APP_IDvar andSDK_BOT_PRIVATE_KEYsecret are available in this repoNODE_AUTH_TOKENsecret is configured for NPM publishingSOCKET_API_KEYsecret is configured