|
31 | 31 | id: set-matrix |
32 | 32 | run: php .github/nightly_matrix.php "${{ github.event_name }}" "${{ github.run_attempt }}" |
33 | 33 | - name: Notify Slack |
34 | | - if: always() |
| 34 | + if: failure() |
35 | 35 | uses: ./.github/actions/notify-slack |
36 | 36 | with: |
37 | 37 | token: ${{ secrets.ACTION_MONITORING_SLACK }} |
@@ -110,7 +110,7 @@ jobs: |
110 | 110 | - name: Verify generated files are up to date |
111 | 111 | uses: ./.github/actions/verify-generated-files |
112 | 112 | - name: Notify Slack |
113 | | - if: always() |
| 113 | + if: failure() |
114 | 114 | uses: ./.github/actions/notify-slack |
115 | 115 | with: |
116 | 116 | token: ${{ secrets.ACTION_MONITORING_SLACK }} |
@@ -186,7 +186,7 @@ jobs: |
186 | 186 | -d opcache.jit_buffer_size=16M |
187 | 187 | -d opcache.jit=1205 |
188 | 188 | - name: Notify Slack |
189 | | - if: always() |
| 189 | + if: failure() |
190 | 190 | uses: ./.github/actions/notify-slack |
191 | 191 | with: |
192 | 192 | token: ${{ secrets.ACTION_MONITORING_SLACK }} |
@@ -249,7 +249,7 @@ jobs: |
249 | 249 | - name: Verify generated files are up to date |
250 | 250 | uses: ./.github/actions/verify-generated-files |
251 | 251 | - name: Notify Slack |
252 | | - if: always() |
| 252 | + if: failure() |
253 | 253 | uses: ./.github/actions/notify-slack |
254 | 254 | with: |
255 | 255 | token: ${{ secrets.ACTION_MONITORING_SLACK }} |
@@ -288,7 +288,7 @@ jobs: |
288 | 288 | if: always() |
289 | 289 | run: bash <(curl -s https://codecov.io/bash) |
290 | 290 | - name: Notify Slack |
291 | | - if: always() |
| 291 | + if: failure() |
292 | 292 | uses: ./.github/actions/notify-slack |
293 | 293 | with: |
294 | 294 | token: ${{ secrets.ACTION_MONITORING_SLACK }} |
@@ -408,7 +408,7 @@ jobs: |
408 | 408 | exit 1 |
409 | 409 | fi |
410 | 410 | - name: Notify Slack |
411 | | - if: always() |
| 411 | + if: failure() |
412 | 412 | uses: ./.github/actions/notify-slack |
413 | 413 | with: |
414 | 414 | token: ${{ secrets.ACTION_MONITORING_SLACK }} |
@@ -484,7 +484,7 @@ jobs: |
484 | 484 | - name: Verify generated files are up to date |
485 | 485 | uses: ./.github/actions/verify-generated-files |
486 | 486 | - name: Notify Slack |
487 | | - if: always() |
| 487 | + if: failure() |
488 | 488 | uses: ./.github/actions/notify-slack |
489 | 489 | with: |
490 | 490 | token: ${{ secrets.ACTION_MONITORING_SLACK }} |
@@ -581,7 +581,7 @@ jobs: |
581 | 581 | - name: Verify generated files are up to date |
582 | 582 | uses: ./.github/actions/verify-generated-files |
583 | 583 | - name: Notify Slack |
584 | | - if: always() |
| 584 | + if: failure() |
585 | 585 | uses: ./.github/actions/notify-slack |
586 | 586 | with: |
587 | 587 | token: ${{ secrets.ACTION_MONITORING_SLACK }} |
@@ -641,7 +641,7 @@ jobs: |
641 | 641 | - name: Verify generated files are up to date |
642 | 642 | uses: ./.github/actions/verify-generated-files |
643 | 643 | - name: Notify Slack |
644 | | - if: always() |
| 644 | + if: failure() |
645 | 645 | uses: ./.github/actions/notify-slack |
646 | 646 | with: |
647 | 647 | token: ${{ secrets.ACTION_MONITORING_SLACK }} |
0 commit comments