Skip to content
Closed
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
3 changes: 3 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# PostHog analytics configuration
POSTHOG_PROJECT_TOKEN=your-posthog-project-token
POSTHOG_HOST=https://your-posthog-host
2 changes: 2 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ runs:
LEARNING_PROFILE: ${{ inputs.profile-path }}
EXPLAINER_DIR: ${{ inputs.output-dir }}
GH_TOKEN: ${{ github.token }}
POSTHOG_PROJECT_TOKEN: phc_tJhPVNdmZBGvffrAHTbRkVx7zG9vQdLtxTh9fJL3NrpJ
POSTHOG_HOST: https://us.i.posthog.com
run: |
OUT_PATH=$(npx pr-explainer "${{ github.event.pull_request.number }}")
echo "path=$OUT_PATH" >> "$GITHUB_OUTPUT"
Expand Down
350 changes: 348 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,8 @@
},
"engines": {
"node": ">=18"
},
"dependencies": {
"posthog-node": "^4.18.0"
}
}
Loading