|
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 }} |
@@ -114,7 +114,7 @@ jobs: |
114 | 114 | - name: Verify generated files are up to date |
115 | 115 | uses: ./.github/actions/verify-generated-files |
116 | 116 | - name: Notify Slack |
117 | | - if: always() |
| 117 | + if: failure() |
118 | 118 | uses: ./.github/actions/notify-slack |
119 | 119 | with: |
120 | 120 | token: ${{ secrets.ACTION_MONITORING_SLACK }} |
@@ -190,7 +190,7 @@ jobs: |
190 | 190 | -d opcache.jit_buffer_size=16M |
191 | 191 | -d opcache.jit=1205 |
192 | 192 | - name: Notify Slack |
193 | | - if: always() |
| 193 | + if: failure() |
194 | 194 | uses: ./.github/actions/notify-slack |
195 | 195 | with: |
196 | 196 | token: ${{ secrets.ACTION_MONITORING_SLACK }} |
@@ -258,7 +258,7 @@ jobs: |
258 | 258 | - name: Verify generated files are up to date |
259 | 259 | uses: ./.github/actions/verify-generated-files |
260 | 260 | - name: Notify Slack |
261 | | - if: always() |
| 261 | + if: failure() |
262 | 262 | uses: ./.github/actions/notify-slack |
263 | 263 | with: |
264 | 264 | token: ${{ secrets.ACTION_MONITORING_SLACK }} |
@@ -297,7 +297,7 @@ jobs: |
297 | 297 | if: always() |
298 | 298 | run: bash <(curl -s https://codecov.io/bash) |
299 | 299 | - name: Notify Slack |
300 | | - if: always() |
| 300 | + if: failure() |
301 | 301 | uses: ./.github/actions/notify-slack |
302 | 302 | with: |
303 | 303 | token: ${{ secrets.ACTION_MONITORING_SLACK }} |
@@ -417,7 +417,7 @@ jobs: |
417 | 417 | exit 1 |
418 | 418 | fi |
419 | 419 | - name: Notify Slack |
420 | | - if: always() |
| 420 | + if: failure() |
421 | 421 | uses: ./.github/actions/notify-slack |
422 | 422 | with: |
423 | 423 | token: ${{ secrets.ACTION_MONITORING_SLACK }} |
@@ -493,7 +493,7 @@ jobs: |
493 | 493 | - name: Verify generated files are up to date |
494 | 494 | uses: ./.github/actions/verify-generated-files |
495 | 495 | - name: Notify Slack |
496 | | - if: always() |
| 496 | + if: failure() |
497 | 497 | uses: ./.github/actions/notify-slack |
498 | 498 | with: |
499 | 499 | token: ${{ secrets.ACTION_MONITORING_SLACK }} |
@@ -590,7 +590,7 @@ jobs: |
590 | 590 | - name: Verify generated files are up to date |
591 | 591 | uses: ./.github/actions/verify-generated-files |
592 | 592 | - name: Notify Slack |
593 | | - if: always() |
| 593 | + if: failure() |
594 | 594 | uses: ./.github/actions/notify-slack |
595 | 595 | with: |
596 | 596 | token: ${{ secrets.ACTION_MONITORING_SLACK }} |
@@ -650,7 +650,7 @@ jobs: |
650 | 650 | - name: Verify generated files are up to date |
651 | 651 | uses: ./.github/actions/verify-generated-files |
652 | 652 | - name: Notify Slack |
653 | | - if: always() |
| 653 | + if: failure() |
654 | 654 | uses: ./.github/actions/notify-slack |
655 | 655 | with: |
656 | 656 | token: ${{ secrets.ACTION_MONITORING_SLACK }} |
0 commit comments