Skip to content
Merged
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
7 changes: 7 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,8 @@ jobs:
environment: 'NPM Release' # This will require an approval from a maintainer, they are notified in Slack above
permissions:
contents: read
actions: read
pull-requests: read
outputs:
commit-hash: ${{ steps.commit-version-bump.outputs.commit-hash }}
# posthog-js SDK version after `pnpm bump`. Downstream jobs use this
Expand All @@ -150,6 +152,11 @@ jobs:
with:
egress-policy: audit

- name: Block approval by the authors of the released PRs
uses: PostHog/.github/.github/actions/release-approval-guard@68f2906c222a22652292c6120028c196db916c3f # main
with:
environment: 'NPM Release'

- name: Notify Slack - Approved
continue-on-error: true # Don't block release if Slack notification fails
uses: PostHog/.github/.github/actions/slack-thread-reply@836a5e06cdf40ed2a46b16f131b0a9b03c1ffea1 # main
Expand Down
Loading