Skip to content

Commit 49414fa

Browse files
committed
Build/Test Tools: Re-add Slack notices for E2E workflow.
This re-adds Slack notices for the E2E workflow in the 6.2 branch. These were mistakenly removed in [58302]. See #61733, #61213. git-svn-id: https://develop.svn.wordpress.org/branches/6.2@58791 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 39e2a3c commit 49414fa

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.github/workflows/end-to-end-tests.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,22 @@ jobs:
4949
LOCAL_SCRIPT_DEBUG: ${{ matrix.LOCAL_SCRIPT_DEBUG }}
5050
install-gutenberg: false
5151

52+
slack-notifications:
53+
name: Slack Notifications
54+
uses: WordPress/wordpress-develop/.github/workflows/slack-notifications.yml@trunk
55+
permissions:
56+
actions: read
57+
contents: read
58+
needs: [ e2e-tests ]
59+
if: ${{ github.repository == 'WordPress/wordpress-develop' && github.event_name != 'pull_request' && always() }}
60+
with:
61+
calling_status: ${{ contains( needs.*.result, 'cancelled' ) && 'cancelled' || contains( needs.*.result, 'failure' ) && 'failure' || 'success' }}
62+
secrets:
63+
SLACK_GHA_SUCCESS_WEBHOOK: ${{ secrets.SLACK_GHA_SUCCESS_WEBHOOK }}
64+
SLACK_GHA_CANCELLED_WEBHOOK: ${{ secrets.SLACK_GHA_CANCELLED_WEBHOOK }}
65+
SLACK_GHA_FIXED_WEBHOOK: ${{ secrets.SLACK_GHA_FIXED_WEBHOOK }}
66+
SLACK_GHA_FAILURE_WEBHOOK: ${{ secrets.SLACK_GHA_FAILURE_WEBHOOK }}
67+
5268
failed-workflow:
5369
name: Failed workflow tasks
5470
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)