|
33 | 33 | id: set-matrix |
34 | 34 | run: php .github/nightly_matrix.php "${{ github.event_name }}" "${{ github.run_attempt }}" |
35 | 35 | - name: Notify Slack |
36 | | - if: always() |
| 36 | + if: failure() |
37 | 37 | uses: ./.github/actions/notify-slack |
38 | 38 | with: |
39 | 39 | token: ${{ secrets.ACTION_MONITORING_SLACK }} |
@@ -123,7 +123,7 @@ jobs: |
123 | 123 | - name: Verify generated files are up to date |
124 | 124 | uses: ./.github/actions/verify-generated-files |
125 | 125 | - name: Notify Slack |
126 | | - if: always() |
| 126 | + if: failure() |
127 | 127 | uses: ./.github/actions/notify-slack |
128 | 128 | with: |
129 | 129 | token: ${{ secrets.ACTION_MONITORING_SLACK }} |
@@ -199,7 +199,7 @@ jobs: |
199 | 199 | -d opcache.jit_buffer_size=16M |
200 | 200 | -d opcache.jit=1205 |
201 | 201 | - name: Notify Slack |
202 | | - if: always() |
| 202 | + if: failure() |
203 | 203 | uses: ./.github/actions/notify-slack |
204 | 204 | with: |
205 | 205 | token: ${{ secrets.ACTION_MONITORING_SLACK }} |
@@ -267,7 +267,7 @@ jobs: |
267 | 267 | - name: Verify generated files are up to date |
268 | 268 | uses: ./.github/actions/verify-generated-files |
269 | 269 | - name: Notify Slack |
270 | | - if: always() |
| 270 | + if: failure() |
271 | 271 | uses: ./.github/actions/notify-slack |
272 | 272 | with: |
273 | 273 | token: ${{ secrets.ACTION_MONITORING_SLACK }} |
@@ -313,7 +313,7 @@ jobs: |
313 | 313 | if: always() |
314 | 314 | run: bash <(curl -s https://codecov.io/bash) |
315 | 315 | - name: Notify Slack |
316 | | - if: always() |
| 316 | + if: failure() |
317 | 317 | uses: ./.github/actions/notify-slack |
318 | 318 | with: |
319 | 319 | token: ${{ secrets.ACTION_MONITORING_SLACK }} |
@@ -433,7 +433,7 @@ jobs: |
433 | 433 | exit 1 |
434 | 434 | fi |
435 | 435 | - name: Notify Slack |
436 | | - if: always() |
| 436 | + if: failure() |
437 | 437 | uses: ./.github/actions/notify-slack |
438 | 438 | with: |
439 | 439 | token: ${{ secrets.ACTION_MONITORING_SLACK }} |
@@ -516,7 +516,7 @@ jobs: |
516 | 516 | - name: Verify generated files are up to date |
517 | 517 | uses: ./.github/actions/verify-generated-files |
518 | 518 | - name: Notify Slack |
519 | | - if: always() |
| 519 | + if: failure() |
520 | 520 | uses: ./.github/actions/notify-slack |
521 | 521 | with: |
522 | 522 | token: ${{ secrets.ACTION_MONITORING_SLACK }} |
@@ -614,7 +614,7 @@ jobs: |
614 | 614 | - name: Verify generated files are up to date |
615 | 615 | uses: ./.github/actions/verify-generated-files |
616 | 616 | - name: Notify Slack |
617 | | - if: always() |
| 617 | + if: failure() |
618 | 618 | uses: ./.github/actions/notify-slack |
619 | 619 | with: |
620 | 620 | token: ${{ secrets.ACTION_MONITORING_SLACK }} |
@@ -674,7 +674,7 @@ jobs: |
674 | 674 | - name: Verify generated files are up to date |
675 | 675 | uses: ./.github/actions/verify-generated-files |
676 | 676 | - name: Notify Slack |
677 | | - if: always() |
| 677 | + if: failure() |
678 | 678 | uses: ./.github/actions/notify-slack |
679 | 679 | with: |
680 | 680 | token: ${{ secrets.ACTION_MONITORING_SLACK }} |
@@ -782,7 +782,7 @@ jobs: |
782 | 782 | ./configure --prefix=/opt/php --with-php-config=/opt/php/bin/php-config |
783 | 783 | make -j$(/usr/bin/nproc) |
784 | 784 | - name: Notify Slack |
785 | | - if: always() |
| 785 | + if: failure() |
786 | 786 | uses: ./.github/actions/notify-slack |
787 | 787 | with: |
788 | 788 | token: ${{ secrets.ACTION_MONITORING_SLACK }} |
0 commit comments