Skip to content

Commit

Permalink
chore: remote annotation per pr (#25207)
Browse files Browse the repository at this point in the history
  • Loading branch information
pauldambra authored Sep 25, 2024
1 parent 77e93e8 commit ac49aa7
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions .github/workflows/report-pr-age.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,3 @@ jobs:
posthog-token: ${{secrets.POSTHOG_API_TOKEN}}
event: 'posthog-ci-pr-stats'
properties: '{"prAgeInSeconds": ${{ env.pr_age }}, "isRevert": ${{env.is_revert}}, "prTitle": "${{ github.event.pull_request.title}}", "prNumber": "${{ github.event.pull_request.number}}" }'
report-pr-as-annotation:
name: Report PR to PostHog
runs-on: ubuntu-20.04
if: github.event.pull_request.head.repo.full_name == github.repository && github.event.pull_request.merged == true
steps:
- name: Report PR to PostHog
uses: PostHog/[email protected]
with:
posthog-token: ${{secrets.POSTHOG_PAUL_PERSONAL_API_KEY}}
posthog-project-id: ${{secrets.POSTHOG_PROJECT_ID}}
annotation-message: 'Merged PR #${{github.event.pull_request.number}} ${{github.event.pull_request.title}}'

0 comments on commit ac49aa7

Please sign in to comment.