Skip to content

Commit

Permalink
Build/Test Tools: Re-add Slack notices for E2E workflow.
Browse files Browse the repository at this point in the history
This re-adds Slack notices for the E2E workflow in the 5.8 branch.

These were mistakenly removed in [58597].

Fixes #61733. See #61213.

git-svn-id: https://develop.svn.wordpress.org/branches/5.8@58795 602fd350-edb4-49c9-b593-d223f7449a82
  • Loading branch information
desrosj committed Jul 23, 2024
1 parent a6d0c70 commit b1389fb
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/end-to-end-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,22 @@ jobs:
php-version: '8.0'
install-gutenberg: false

slack-notifications:
name: Slack Notifications
uses: WordPress/wordpress-develop/.github/workflows/slack-notifications.yml@trunk
permissions:
actions: read
contents: read
needs: [ e2e-tests ]
if: ${{ github.repository == 'WordPress/wordpress-develop' && github.event_name != 'pull_request' && always() }}
with:
calling_status: ${{ contains( needs.*.result, 'cancelled' ) && 'cancelled' || contains( needs.*.result, 'failure' ) && 'failure' || 'success' }}
secrets:
SLACK_GHA_SUCCESS_WEBHOOK: ${{ secrets.SLACK_GHA_SUCCESS_WEBHOOK }}
SLACK_GHA_CANCELLED_WEBHOOK: ${{ secrets.SLACK_GHA_CANCELLED_WEBHOOK }}
SLACK_GHA_FIXED_WEBHOOK: ${{ secrets.SLACK_GHA_FIXED_WEBHOOK }}
SLACK_GHA_FAILURE_WEBHOOK: ${{ secrets.SLACK_GHA_FAILURE_WEBHOOK }}

failed-workflow:
name: Failed workflow tasks
runs-on: ubuntu-latest
Expand Down

0 comments on commit b1389fb

Please sign in to comment.