File tree Expand file tree Collapse file tree 2 files changed +12
-13
lines changed
Expand file tree Collapse file tree 2 files changed +12
-13
lines changed Original file line number Diff line number Diff line change @@ -126,15 +126,15 @@ jobs:
126126 env :
127127 JOB : ${{ toJson( job ) }}
128128
129- # slack-notifications:
130- # name: Slack Notifications
131- # uses: desrosj/wordpress-develop/.github/workflows/slack-notifications.yml@master
132- # needs: [ phpcs, jshint ]
133- # if: ${{ always() }}
134- # with:
135- # calling_status: ${{ needs.phpcs.result == 'success' && needs.jshint.result == 'success' && 'success' || ( needs.phpcs.result == 'cancelled' || needs.jshint.result == 'cancelled' ) && 'cancelled' || 'failure' }}
136- # secrets:
137- # SLACK_GHA_SUCCESS_WEBHOOK: ${{ secrets.SLACK_GHA_SUCCESS_WEBHOOK }}
138- # SLACK_GHA_CANCELLED_WEBHOOK: ${{ secrets.SLACK_GHA_CANCELLED_WEBHOOK }}
139- # SLACK_GHA_FIXED_WEBHOOK: ${{ secrets.SLACK_GHA_FIXED_WEBHOOK }}
140- # SLACK_GHA_FAILURE_WEBHOOK: ${{ secrets.SLACK_GHA_FAILURE_WEBHOOK }}
129+ slack-notifications :
130+ name : Slack Notifications
131+ uses : desrosj/wordpress-develop/.github/workflows/slack-notifications.yml@master
132+ needs : [ phpcs, jshint ]
133+ if : ${{ always() }}
134+ with :
135+ calling_status : ${{ needs.phpcs.result == 'success' && needs.jshint.result == 'success' && 'success' || ( needs.phpcs.result == 'cancelled' || needs.jshint.result == 'cancelled' ) && 'cancelled' || 'failure' }}
136+ secrets :
137+ SLACK_GHA_SUCCESS_WEBHOOK : ${{ secrets.SLACK_GHA_SUCCESS_WEBHOOK }}
138+ SLACK_GHA_CANCELLED_WEBHOOK : ${{ secrets.SLACK_GHA_CANCELLED_WEBHOOK }}
139+ SLACK_GHA_FIXED_WEBHOOK : ${{ secrets.SLACK_GHA_FIXED_WEBHOOK }}
140+ SLACK_GHA_FAILURE_WEBHOOK : ${{ secrets.SLACK_GHA_FAILURE_WEBHOOK }}
Original file line number Diff line number Diff line change 1919 types :
2020 - completed
2121 branches :
22- - master
2322 - ' [3-4].[0-9]'
2423 - ' 5.[0-8]'
2524
You can’t perform that action at this time.
0 commit comments