Skip to content

: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.

chore(ci): read releaser app ids from org variables (#130135)

Georges-Antoine Assicdfb0cca6d2e
diff --git a/.github/workflows/build-phrocs.yml b/.github/workflows/build-phrocs.yml
index 479d6ee244d5..b65285105665 100644
--- a/.github/workflows/build-phrocs.yml
+++ b/.github/workflows/build-phrocs.yml
@@ -135,7 +135,7 @@ jobs:
# nosemgrep: yaml.github-actions.security.github-actions-mutable-action-tag.github-actions-mutable-action-tag
uses: actions/[email protected]
with:
- client-id: ${{ secrets.GH_APP_HOMEBREW_TAP_RELEASER_APP_ID }}
+ client-id: ${{ vars.GH_APP_HOMEBREW_TAP_RELEASER_APP_ID }}
private-key: ${{ secrets.GH_APP_HOMEBREW_TAP_RELEASER_PRIVATE_KEY }}
owner: PostHog
repositories: homebrew-tap
diff --git a/.github/workflows/release-cli.yml b/.github/workflows/release-cli.yml
index 263756427593..0d06bd0e2b31 100644
--- a/.github/workflows/release-cli.yml
+++ b/.github/workflows/release-cli.yml
@@ -192,7 +192,7 @@ jobs:
id: app-token
uses: actions/create-github-app-token@1b10c78c7865c340bc4f6099eb2f838309f1e8c3 # v3.1.1
with:
- client-id: ${{ secrets.GH_APP_POSTHOG_POSTHOG_CLI_RELEASER_APP_ID }}
+ client-id: ${{ vars.GH_APP_POSTHOG_POSTHOG_CLI_RELEASER_APP_ID }}
private-key: ${{ secrets.GH_APP_POSTHOG_POSTHOG_CLI_RELEASER_PRIVATE_KEY }}
permission-contents: write
permission-pull-requests: write
@@ -1172,7 +1172,7 @@ jobs:
id: app-token
uses: actions/create-github-app-token@1b10c78c7865c340bc4f6099eb2f838309f1e8c3 # v3.1.1
with:
- client-id: ${{ secrets.GH_APP_HOMEBREW_TAP_RELEASER_APP_ID }}
+ client-id: ${{ vars.GH_APP_HOMEBREW_TAP_RELEASER_APP_ID }}
private-key: ${{ secrets.GH_APP_HOMEBREW_TAP_RELEASER_PRIVATE_KEY }}
owner: PostHog
repositories: homebrew-tap