Changeset 51511 for trunk/.github/workflows/test-npm.yml
- Timestamp:
- 07/29/2021 07:47:43 PM (23 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/.github/workflows/test-npm.yml
r51355 r51511 155 155 - name: Ensure version-controlled files are not modified or deleted during building and cleaning 156 156 run: git diff --exit-code 157 158 # Post workflow related status updates to Slack. 159 # 160 # When a job in this workflow fails, a message is posted to #core. 161 # 162 # This job should always require all other jobs in this workflow to complete before running. 163 slack-notifications: 164 name: Slack Notifications 165 runs-on: ubuntu-latest 166 needs: [ test-npm, test-npm-macos ] 167 if: ${{ failure() && github.repository == 'WordPress/wordpress-develop' && github.event_name != 'pull_request' }} 168 169 steps: 170 - name: Post failure notification to Slack 171 uses: slackapi/slack-github-action@d5d276d7ae0f38f29322b80da9baf985cc80f8b1 # v1.15.0 172 with: 173 payload: "{\"workflow_name\":\"${{ github.workflow }}\",\"run_url\":\"https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}\"}" 174 env: 175 SLACK_WEBHOOK_URL: ${{ secrets.SLACK_GHA_WEBHOOK_URL }}
Note: See TracChangeset
for help on using the changeset viewer.