mirror of
git://develop.git.wordpress.org/
synced 2025-04-11 23:52:01 +02:00
Build/Test Tools: Re-add Slack notices for E2E workflow.
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
This commit is contained in:
parent
a6d0c70c73
commit
b1389fb67a
16
.github/workflows/end-to-end-tests.yml
vendored
16
.github/workflows/end-to-end-tests.yml
vendored
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user