Skip to content

Commit d18f359

Browse files
authored
Update verify.yaml - remove slack integration
1 parent 6037c1d commit d18f359

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

.github/workflows/verify.yaml

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -26,21 +26,3 @@ jobs:
2626
npm install
2727
npm run lint
2828
npm run build
29-
30-
- name: Slack Notification (Always)
31-
if: always()
32-
run: |
33-
MESSAGE="'${{ github.workflow }}/${{ github.job }}' job completed with status: ${{ job.status }}"
34-
REPO="${{ github.repository }}"
35-
LINK="https://github.com/$REPO/actions/runs/${{ github.run_id }}"
36-
PAYLOAD="{\"workflow\": \"${{ github.workflow }}\", \"status\": \"${{ job.status }}\", \"message\": \"$MESSAGE\", \"link\": \"$LINK\", \"repository\": \"$REPO\"}"
37-
curl -X POST -H "Content-Type: application/json" -d "$PAYLOAD" ${{ secrets.SLACK_NOTIFICATION_WEBHOOK }}
38-
39-
- name: Slack Notification (Error)
40-
if: failure()
41-
run: |
42-
MESSAGE="'${{ github.workflow }}/${{ github.job }}' job FAILED!"
43-
REPO="${{ github.repository }}"
44-
LINK="https://github.com/$REPO/actions/runs/${{ github.run_id }}"
45-
PAYLOAD="{\"workflow\": \"${{ github.workflow }}\", \"status\": \"${{ job.status }}\", \"message\": \"$MESSAGE\", \"link\": \"$LINK\", \"repository\": \"$REPO\"}"
46-
curl -X POST -H "Content-Type: application/json" -d "$PAYLOAD" ${{ secrets.SLACK_ERROR_WEBHOOK }}

0 commit comments

Comments
 (0)