Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions .changeset/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Changesets

This folder drives releases of `@posthog/agent`, the only npm-published package
in this repo. A merged changeset triggers the release pipeline in
`.github/workflows/agent-release.yml`, which prepares and verifies a release
candidate and then waits for human approval before publishing.

To request a release, run `pnpm changeset` at the repo root, select
`@posthog/agent`, pick a semver bump and describe the change. Changes to
`packages/shared`, `packages/git` or `packages/enricher` also ship through
`@posthog/agent` (they are bundled into it), so changesets for those changes
must target `@posthog/agent` too.

See `packages/agent/RELEASING.md` for the full release process and
[changesets docs](https://github.com/changesets/changesets) for the format.
16 changes: 16 additions & 0 deletions .changeset/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"$schema": "https://unpkg.com/@changesets/config@3.1.4/schema.json",
"changelog": "@changesets/cli/changelog",
"commit": false,
"fixed": [],
"linked": [],
"access": "restricted",
"baseBranch": "main",
"updateInternalDependencies": "patch",
"bumpVersionsWithWorkspaceProtocolOnly": true,
"privatePackages": {
"version": false,
"tag": false
},
"ignore": []
}
6 changes: 6 additions & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Release-critical files: edits here can reshape or bypass the npm publish
# approval gate, so they require review by the release owners.
/.github/CODEOWNERS @PostHog/team-posthog-code
/.github/workflows/agent-release.yml @PostHog/team-posthog-code
/.changeset/config.json @PostHog/team-posthog-code
/packages/agent/package.json @PostHog/team-posthog-code
1 change: 1 addition & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,4 @@

- [ ] Publish to changelog?
- [ ] Alert Sales and Marketing teams?
- [ ] Added a changeset? (required to ship `packages/agent`, `shared`, `git` or `enricher` changes to npm; run `pnpm changeset`)
Loading
Loading