@@ -57,28 +57,28 @@ jobs:
5757 if : ${{ needs.test.result != 'success' }}
5858 run : exit 1
5959
60- notify :
61- # Run only on master, but regardless of whether tests past:
62- if : ${{ always() && github.ref == 'refs/heads/master' }}
63-
64- needs : test_matrix
65-
66- runs-on : ubuntu-latest
67-
68- steps :
69- - uses : 8398a7/action-slack@v3
70- with :
71- status : custom
72- fields : workflow,commit,author
73- custom_payload : |
74- {
75- channel: 'C7FQWGDHP',
76- username: 'CI – ' + '${{ github.repository }}'.split('/')[1],
77- icon_emoji: ':hammer_and_wrench:',
78- attachments: [{
79- color: '${{ needs.test_matrix.result }}' === 'success' ? 'good' : '${{ needs.test_matrix.result }}' === 'failure' ? 'danger' : 'warning',
80- text: `${process.env.AS_WORKFLOW} against \`${{ github.ref }}\` (${process.env.AS_COMMIT}) for ${{ github.actor }} resulted in *${{ needs.test_matrix.result }}*.`
81- }]
82- }
83- env :
84- SLACK_WEBHOOK_URL : ${{ secrets.SLACK_WEBHOOK_URL }}
60+ # notify:
61+ # # Run only on master, but regardless of whether tests past:
62+ # if: ${{ always() && github.ref == 'refs/heads/master' }}
63+ #
64+ # needs: test_matrix
65+ #
66+ # runs-on: ubuntu-latest
67+ #
68+ # steps:
69+ # - uses: 8398a7/action-slack@v3
70+ # with:
71+ # status: custom
72+ # fields: workflow,commit,author
73+ # custom_payload: |
74+ # {
75+ # channel: 'C7FQWGDHP',
76+ # username: 'CI – ' + '${{ github.repository }}'.split('/')[1],
77+ # icon_emoji: ':hammer_and_wrench:',
78+ # attachments: [{
79+ # color: '${{ needs.test_matrix.result }}' === 'success' ? 'good' : '${{ needs.test_matrix.result }}' === 'failure' ? 'danger' : 'warning',
80+ # text: `${process.env.AS_WORKFLOW} against \`${{ github.ref }}\` (${process.env.AS_COMMIT}) for ${{ github.actor }} resulted in *${{ needs.test_matrix.result }}*.`
81+ # }]
82+ # }
83+ # env:
84+ # SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
0 commit comments