: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): cut release tags from merged code only (#105566)
Tom Piccirello8f40204c1658
diff --git a/.github/workflows/desktop-agent-tag.yml b/.github/workflows/desktop-agent-tag.ymlindex baef5ef46bc5..cd955046f1cb 100644--- a/.github/workflows/desktop-agent-tag.yml+++ b/.github/workflows/desktop-agent-tag.yml@@ -17,6 +17,8 @@ concurrency:jobs:tag:+ # A manual run can start from any branch, so the ref check keeps a release tag on master.+ if: github.ref == 'refs/heads/master'permissions:contents: writeruns-on: depot-ubuntu-24.04diff --git a/.github/workflows/desktop-tag.yml b/.github/workflows/desktop-tag.ymlindex 925982baaf38..4f6876f6b73d 100644--- a/.github/workflows/desktop-tag.yml+++ b/.github/workflows/desktop-tag.yml@@ -26,9 +26,12 @@ concurrency:jobs:tag:+ # A manual run can start from any ref, and a break-glass run tags that ref's head. Only+ # master and an existing release tag hold code that already merged.if: >-github.event_name == 'schedule' ||- github.event_name == 'workflow_dispatch' ||+ (github.event_name == 'workflow_dispatch' &&+ (github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/desktop-v'))) ||(github.event.pull_request.merged == true &&contains(github.event.pull_request.labels.*.name, 'desktop-release'))permissions: