:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
chore(desktop): gate agent npm publish on a protected environment (#102470)
Charles Vienf19d7c68848f
diff --git a/.github/workflows/desktop-agent-release.yml b/.github/workflows/desktop-agent-release.ymlindex aea9f2ebd88a..71b1ebb0d343 100644--- a/.github/workflows/desktop-agent-release.yml+++ b/.github/workflows/desktop-agent-release.yml@@ -20,6 +20,7 @@ jobs:# npm provenance requires a github-hosted runner; Depot registers as self-hostedruns-on: ubuntu-latesttimeout-minutes: 30+ environment: npm-posthog-agentpermissions:contents: readid-token: writediff --git a/products/desktop/docs/UPDATES.md b/products/desktop/docs/UPDATES.mdindex 7dd3f9eba16c..edd2e9d08c33 100644--- a/products/desktop/docs/UPDATES.md+++ b/products/desktop/docs/UPDATES.md@@ -62,6 +62,10 @@ git push origin desktop-v0.16The next `desktop-tag.yml` run releases `desktop-v0.16.N`.+A tag ruleset protects `desktop-v*` and `agent-v*` tags, because pushing one publishes a release.+Only a repository admin can push a base tag.+`desktop-tag.yml` and `desktop-agent-tag.yml` push release tags through the Releaser GitHub App, which the ruleset allows.+## Checking current versionSee what version would be released: