You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
GitHub Action
PostHog Annotations
0.1.3
Pre-release
This action lets you send annotations to PostHog from your GitHub actions.
At PostHog we use it to track when PRs are merged
Required Your PostHog Personal API Token. Not the write-only project key. Create a personal api token at https://app.posthog.com/me/settings
Required Your PostHog Project ID. You can find this in the project settings.
Your PostHog API Host.
Defaults to "https://app.posthog.com"
REQUIRED The message to send to PostHog.
Your personal API token must be kept secret.
uses: actions/posthog-github-action
with:
posthog-token: ${{ secrets.API_TOKEN }}
posthog-project-id: ${{ secrets.PROJECT_ID }}
annotation-message: "PR #21 merged"