|
30 | 30 | - name: Generate Matrix |
31 | 31 | id: set-matrix |
32 | 32 | run: php .github/nightly_matrix.php "${{ github.event_name }}" "${{ github.run_attempt }}" |
| 33 | + - name: Notify Slack |
| 34 | + if: always() |
| 35 | + uses: ./.github/actions/notify-slack |
| 36 | + with: |
| 37 | + token: ${{ secrets.ACTION_MONITORING_SLACK }} |
33 | 38 | LINUX_X64: |
34 | 39 | needs: GENERATE_MATRIX |
35 | 40 | if: ${{ needs.GENERATE_MATRIX.outputs.branches != '[]' }} |
@@ -104,6 +109,11 @@ jobs: |
104 | 109 | -d opcache.jit=1205 |
105 | 110 | - name: Verify generated files are up to date |
106 | 111 | uses: ./.github/actions/verify-generated-files |
| 112 | + - name: Notify Slack |
| 113 | + if: always() |
| 114 | + uses: ./.github/actions/notify-slack |
| 115 | + with: |
| 116 | + token: ${{ secrets.ACTION_MONITORING_SLACK }} |
107 | 117 | LINUX_X32: |
108 | 118 | needs: GENERATE_MATRIX |
109 | 119 | if: ${{ needs.GENERATE_MATRIX.outputs.branches != '[]' }} |
@@ -175,6 +185,11 @@ jobs: |
175 | 185 | -d opcache.enable_cli=1 |
176 | 186 | -d opcache.jit_buffer_size=16M |
177 | 187 | -d opcache.jit=1205 |
| 188 | + - name: Notify Slack |
| 189 | + if: always() |
| 190 | + uses: ./.github/actions/notify-slack |
| 191 | + with: |
| 192 | + token: ${{ secrets.ACTION_MONITORING_SLACK }} |
178 | 193 | MACOS: |
179 | 194 | needs: GENERATE_MATRIX |
180 | 195 | if: ${{ needs.GENERATE_MATRIX.outputs.branches != '[]' }} |
@@ -233,6 +248,11 @@ jobs: |
233 | 248 | -d opcache.jit=1205 |
234 | 249 | - name: Verify generated files are up to date |
235 | 250 | uses: ./.github/actions/verify-generated-files |
| 251 | + - name: Notify Slack |
| 252 | + if: always() |
| 253 | + uses: ./.github/actions/notify-slack |
| 254 | + with: |
| 255 | + token: ${{ secrets.ACTION_MONITORING_SLACK }} |
236 | 256 | COVERAGE_DEBUG_NTS: |
237 | 257 | if: github.repository_owner == 'php' || github.event_name == 'workflow_dispatch' |
238 | 258 | runs-on: ubuntu-20.04 |
@@ -267,6 +287,11 @@ jobs: |
267 | 287 | - name: Upload Test Coverage to Codecov.io |
268 | 288 | if: always() |
269 | 289 | run: bash <(curl -s https://codecov.io/bash) |
| 290 | + - name: Notify Slack |
| 291 | + if: always() |
| 292 | + uses: ./.github/actions/notify-slack |
| 293 | + with: |
| 294 | + token: ${{ secrets.ACTION_MONITORING_SLACK }} |
270 | 295 | COMMUNITY: |
271 | 296 | needs: GENERATE_MATRIX |
272 | 297 | if: ${{ needs.GENERATE_MATRIX.outputs.branches != '[]' }} |
@@ -382,6 +407,11 @@ jobs: |
382 | 407 | if [ $EXIT_CODE -gt 128 ]; then |
383 | 408 | exit 1 |
384 | 409 | fi |
| 410 | + - name: Notify Slack |
| 411 | + if: always() |
| 412 | + uses: ./.github/actions/notify-slack |
| 413 | + with: |
| 414 | + token: ${{ secrets.ACTION_MONITORING_SLACK }} |
385 | 415 | OPCACHE_VARIATION: |
386 | 416 | needs: GENERATE_MATRIX |
387 | 417 | if: ${{ needs.GENERATE_MATRIX.outputs.branches != '[]' }} |
@@ -453,6 +483,11 @@ jobs: |
453 | 483 | -d opcache.file_cache_only=1 |
454 | 484 | - name: Verify generated files are up to date |
455 | 485 | uses: ./.github/actions/verify-generated-files |
| 486 | + - name: Notify Slack |
| 487 | + if: always() |
| 488 | + uses: ./.github/actions/notify-slack |
| 489 | + with: |
| 490 | + token: ${{ secrets.ACTION_MONITORING_SLACK }} |
456 | 491 | MSAN: |
457 | 492 | needs: GENERATE_MATRIX |
458 | 493 | if: ${{ needs.GENERATE_MATRIX.outputs.branches != '[]' }} |
@@ -545,6 +580,11 @@ jobs: |
545 | 580 | -d opcache.enable_cli=1 |
546 | 581 | - name: Verify generated files are up to date |
547 | 582 | uses: ./.github/actions/verify-generated-files |
| 583 | + - name: Notify Slack |
| 584 | + if: always() |
| 585 | + uses: ./.github/actions/notify-slack |
| 586 | + with: |
| 587 | + token: ${{ secrets.ACTION_MONITORING_SLACK }} |
548 | 588 | LIBMYSQLCLIENT: |
549 | 589 | needs: GENERATE_MATRIX |
550 | 590 | if: ${{ needs.GENERATE_MATRIX.outputs.branches != '[]' }} |
@@ -600,3 +640,8 @@ jobs: |
600 | 640 | withMysqli: ${{ matrix.branch.ref == 'PHP-8.1' }} |
601 | 641 | - name: Verify generated files are up to date |
602 | 642 | uses: ./.github/actions/verify-generated-files |
| 643 | + - name: Notify Slack |
| 644 | + if: always() |
| 645 | + uses: ./.github/actions/notify-slack |
| 646 | + with: |
| 647 | + token: ${{ secrets.ACTION_MONITORING_SLACK }} |
0 commit comments