Changeset 51511 for trunk/.github/workflows/end-to-end-tests.yml
- Timestamp:
- 07/29/2021 07:47:43 PM (22 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/.github/workflows/end-to-end-tests.yml
r51355 r51511 47 47 # - Run the E2E tests. 48 48 # - Ensures version-controlled files are not modified or deleted. 49 # - todo: Configure Slack notifications for failing tests.50 49 e2e-tests: 51 50 name: E2E Tests … … 118 117 - name: Ensure version-controlled files are not modified or deleted 119 118 run: git diff --exit-code 119 120 # Post workflow related status updates to Slack. 121 # 122 # When a job in this workflow fails, a message is posted to #core. 123 # 124 # This job should always require all other jobs in this workflow to complete before running. 125 slack-notifications: 126 name: Slack Notifications 127 runs-on: ubuntu-latest 128 needs: [ e2e-tests ] 129 if: ${{ failure() && github.repository == 'WordPress/wordpress-develop' && github.event_name != 'pull_request' }} 130 131 steps: 132 - name: Post failure notification to Slack 133 uses: slackapi/slack-github-action@d5d276d7ae0f38f29322b80da9baf985cc80f8b1 # v1.15.0 134 with: 135 payload: "{\"workflow_name\":\"${{ github.workflow }}\",\"run_url\":\"https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}\"}" 136 env: 137 SLACK_WEBHOOK_URL: ${{ secrets.SLACK_GHA_WEBHOOK_URL }}
Note: See TracChangeset
for help on using the changeset viewer.