Skip to content

Add the SDK release workflow and repository policies - #1

Merged
pei-tinybird merged 1 commit into
mainfrom
feature/release-sdk-and-repo-policies
Oct 9, 2026
Merged

pei-tinybird merged 1 commit into
mainfrom
feature/release-sdk-and-repo-policies

Conversation

@pei-tinybird

Copy link
Copy Markdown
Collaborator

Summary

Adds the npm release path for @rawtree/analytics and 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 an analytics-v* tag publishes the SDK to npm with provenance, after checking the tag matches packages/analytics/package.json and running the tests. Uses npm trusted publishing, with an NPM_TOKEN secret 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, and npm run build pass
  • Workflow YAML parses; npm publish --dry-run for the SDK passes
  • Release workflow runs only on an analytics-v* tag, so it's untested until the first release

🤖 Generated with Claude Code

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>
@pei-tinybird pei-tinybird self-assigned this Oct 9, 2026
@pei-tinybird
pei-tinybird merged commit 4e512d9 into main Oct 9, 2026
1 check passed
@pei-tinybird
pei-tinybird deleted the feature/release-sdk-and-repo-policies branch October 9, 2026 09:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant