Skip to content

Commit c21119b

Browse files
committed
Clean up Slack notification setup
- Remove test file slack-webhook-test.spec.ts - Simplify condition to only trigger on pushes to main branch - Remove pull request condition as requested
1 parent 5daa4ee commit c21119b

File tree

2 files changed

+1
-11
lines changed

2 files changed

+1
-11
lines changed

.github/workflows/code-qa.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ jobs:
8888
notify-slack-on-failure:
8989
runs-on: ubuntu-latest
9090
needs: [check-translations, knip, compile, platform-unit-test, integration-test]
91-
if: ${{ always() && ((github.event_name == 'push' && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/cte/slack-webhook')) || (github.event_name == 'pull_request' && (github.base_ref == 'main' && github.head_ref == 'cte/slack-webhook'))) && contains(needs.*.result, 'failure') }}
91+
if: ${{ always() && github.event_name == 'push' && github.ref == 'refs/heads/main' && contains(needs.*.result, 'failure') }}
9292
steps:
9393
- name: Checkout code
9494
uses: actions/checkout@v4

src/utils/__tests__/slack-webhook-test.spec.ts

Lines changed: 0 additions & 10 deletions
This file was deleted.

0 commit comments

Comments
 (0)