Repository navigation
Add the SDK release workflow and repository policies - #1
Merged
Merged
Conversation
Pushing an analytics-v* tag now publishes @rawtree/analytics to npm with provenance, after checking the tag matches the package version and the tests pass. CONTRIBUTING.md explains the release steps. SECURITY.md asks for private vulnerability reports, and CODEOWNERS requests review from the RawTree engineering team. Co-Authored-By: Claude Opus 5.5 (1M context) <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
Adds the npm release path for
@rawtree/analyticsand the files a public repo needs for outside contributions. Repository settings (rulesets, secret scanning, Dependabot, private vulnerability reporting, fork workflow approval) are already applied in GitHub.Changes
.github/workflows/release-sdk.yml: pushing ananalytics-v*tag publishes the SDK to npm with provenance, after checking the tag matchespackages/analytics/package.jsonand running the tests. Uses npm trusted publishing, with anNPM_TOKENsecret as a fallback.CONTRIBUTING.md: "Releasing the SDK" section with the steps and the one-time npm setup.SECURITY.md: report vulnerabilities privately through GitHub's private reporting..github/CODEOWNERS: reviews go to@rawtreedb/engineering(the team now has write access).Test plan
npm run typecheck,npm test, andnpm run buildpassnpm publish --dry-runfor the SDK passesanalytics-v*tag, so it's untested until the first release🤖 Generated with Claude Code