Skip to content

Commit 2b64b90

Browse files
committed
Actually, alert all failures
1 parent 066c742 commit 2b64b90

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.github/workflows/e2e.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ jobs:
6464
PROJECT_ID: ${{ vars.PROJECT_ID }}
6565

6666
- name: Send failure event to PostHog
67-
if: failure() && github.event_name == 'schedule'
67+
if: failure()
6868
uses: PostHog/[email protected]
6969
# A CDP destination is set-up to alert when we get this event
7070
with:

.github/workflows/integration.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,7 @@ jobs:
6666
NEXT_PUBLIC_POSTHOG_HOST: ${{ vars.NEXT_PUBLIC_POSTHOG_HOST }}
6767

6868
- name: Send failure event to PostHog
69-
# if: failure() && github.event_name == 'schedule'
70-
if: true
69+
if: failure()
7170
uses: PostHog/[email protected]
7271
# A CDP destination is set-up to alert when we get this event
7372
with:

0 commit comments

Comments
 (0)