Skip to content

Commit b886c61

Browse files
authored
fix: send failure / skipped results to discord (#394)
1 parent be4cc45 commit b886c61

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/ecosystem-ci-selected.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ jobs:
9696
--repo ${{ inputs.repo }}
9797
${{ inputs.suite }}
9898
id: ecosystem-ci-run
99-
- if: inputs.sendDiscordReport || github.event_name != 'workflow_dispatch'
99+
- if: always() && (inputs.sendDiscordReport || github.event_name != 'workflow_dispatch')
100100
run: pnpm tsx discord-webhook.ts
101101
env:
102102
WORKFLOW_NAME: ci-selected

.github/workflows/ecosystem-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ jobs:
9999
--repo ${{ inputs.repo || github.event.client_payload.repo || 'vitejs/vite' }}
100100
${{ matrix.suite }}
101101
id: ecosystem-ci-run
102-
- if: inputs.sendDiscordReport || github.event_name != 'workflow_dispatch'
102+
- if: always() && (inputs.sendDiscordReport || github.event_name != 'workflow_dispatch')
103103
run: pnpm tsx discord-webhook.ts
104104
env:
105105
WORKFLOW_NAME: ci

0 commit comments

Comments
 (0)