Skip to content

Commit 4b74758

Browse files
Call slack notification upon test failure & remove workflow_call from CI since it's no longer being used
1 parent 616398f commit 4b74758

2 files changed

Lines changed: 1 addition & 3 deletions

File tree

.github/workflows/ci.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ on:
44
pull_request:
55
push:
66
branches: [ main ]
7-
workflow_call:
87

98
jobs:
109
scan_ruby:

.github/workflows/deploy-to-staging.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,14 +39,13 @@ jobs:
3939

4040
- name: Slack Notification
4141
uses: 8398a7/action-slack@v3
42+
if: failure()
4243
with:
4344
text: "<!subteam^S06P99RGJDS> <@U07QATMB6SW> <@U07Q99GPBK8> <@U07Q39HFLBG> PYA test suite ${{ job.status }} :sob:"
4445
status: ${{ job.status }}
4546
fields: message,commit,author,eventName,ref,workflow,job,took
46-
if_mention: failure,cancelled
4747
env:
4848
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
49-
if: always()
5049
deploy:
5150
name: Deploy to Staging
5251
needs: test

0 commit comments

Comments
 (0)