Changeset 56660
- Timestamp:
- 09/22/2023 02:28:01 PM (14 months ago)
- Location:
- trunk/.github/workflows
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/.github/workflows/coding-standards.yml
r56659 r56660 183 183 if: ${{ github.repository == 'WordPress/wordpress-develop' && github.event_name != 'pull_request' && always() }} 184 184 with: 185 calling_status: ${{ needs.phpcs.result == 'success' && needs.jshint.result == 'success' && 'success' || ( needs.phpcs.result == 'cancelled' || needs.jshint.result == 'cancelled' ) && 'cancelled' || 'failure' }}185 calling_status: ${{ contains( needs.*.result, 'cancelled' ) && 'cancelled' || contains( needs.*.result, 'failure' ) && 'failure' || 'success' }} 186 186 secrets: 187 187 SLACK_GHA_SUCCESS_WEBHOOK: ${{ secrets.SLACK_GHA_SUCCESS_WEBHOOK }} … … 202 202 github.run_attempt < 2 && 203 203 ( 204 needs.phpcs.result == 'cancelled' || needs.phpcs.result == 'failure'||205 needs.jshint.result == 'cancelled' || needs.jshint.result == 'failure'204 contains( needs.*.result, 'cancelled' ) || 205 contains( needs.*.result, 'failure' ) 206 206 ) 207 207 -
trunk/.github/workflows/javascript-tests.yml
r56538 r56660 98 98 if: ${{ github.repository == 'WordPress/wordpress-develop' && github.event_name != 'pull_request' && always() }} 99 99 with: 100 calling_status: ${{ needs.test-js.result == 'success' && 'success' || needs.test-js.result == 'cancelled' && 'cancelled' || 'failure' }}100 calling_status: ${{ contains( needs.*.result, 'cancelled' ) && 'cancelled' || contains( needs.*.result, 'failure' ) && 'failure' || 'success' }} 101 101 secrets: 102 102 SLACK_GHA_SUCCESS_WEBHOOK: ${{ secrets.SLACK_GHA_SUCCESS_WEBHOOK }} … … 117 117 github.run_attempt < 2 && 118 118 ( 119 needs.test-js.result == 'cancelled' || needs.test-js.result == 'failure' 119 contains( needs.*.result, 'cancelled' ) || 120 contains( needs.*.result, 'failure' ) 120 121 ) 121 122 -
trunk/.github/workflows/performance.yml
r56537 r56660 252 252 if: ${{ github.repository == 'WordPress/wordpress-develop' && github.event_name != 'pull_request' && always() }} 253 253 with: 254 calling_status: ${{ needs.performance.result == 'success' && 'success' || needs.performance.result == 'cancelled' && 'cancelled' || 'failure' }}254 calling_status: ${{ contains( needs.*.result, 'cancelled' ) && 'cancelled' || contains( needs.*.result, 'failure' ) && 'failure' || 'success' }} 255 255 secrets: 256 256 SLACK_GHA_SUCCESS_WEBHOOK: ${{ secrets.SLACK_GHA_SUCCESS_WEBHOOK }} … … 271 271 github.run_attempt < 2 && 272 272 ( 273 needs.performance.result == 'cancelled' || needs.performance.result == 'failure' 273 contains( needs.*.result, 'cancelled' ) || 274 contains( needs.*.result, 'failure' ) 274 275 ) 275 276 -
trunk/.github/workflows/php-compatibility.yml
r56537 r56660 123 123 if: ${{ github.repository == 'WordPress/wordpress-develop' && github.event_name != 'pull_request' && always() }} 124 124 with: 125 calling_status: ${{ needs.php-compatibility.result == 'success' && 'success' || needs.php-compatibility.result == 'cancelled' && 'cancelled' || 'failure' }}125 calling_status: ${{ contains( needs.*.result, 'cancelled' ) && 'cancelled' || contains( needs.*.result, 'failure' ) && 'failure' || 'success' }} 126 126 secrets: 127 127 SLACK_GHA_SUCCESS_WEBHOOK: ${{ secrets.SLACK_GHA_SUCCESS_WEBHOOK }} … … 142 142 github.run_attempt < 2 && 143 143 ( 144 needs.php-compatibility.result == 'cancelled' || needs.php-compatibility.result == 'failure' 144 contains( needs.*.result, 'cancelled' ) || 145 contains( needs.*.result, 'failure' ) 145 146 ) 146 147 -
trunk/.github/workflows/phpunit-tests.yml
r56498 r56660 137 137 if: ${{ github.repository == 'WordPress/wordpress-develop' && github.event_name != 'pull_request' && always() }} 138 138 with: 139 calling_status: ${{ needs.test-with-mysql.result == 'success' && needs.test-with-mariadb.result == 'success' && 'success' || ( needs.test-with-mysql.result == 'cancelled' || needs.test-with-mariadb.result == 'cancelled' ) && 'cancelled' || 'failure' }}139 calling_status: ${{ contains( needs.*.result, 'cancelled' ) && 'cancelled' || contains( needs.*.result, 'failure' ) && 'failure' || 'success' }} 140 140 secrets: 141 141 SLACK_GHA_SUCCESS_WEBHOOK: ${{ secrets.SLACK_GHA_SUCCESS_WEBHOOK }} … … 156 156 github.run_attempt < 2 && 157 157 ( 158 needs.test-with-mysql.result == 'cancelled' || needs.test-with-mysql.result == 'failure'||159 needs.test-with-mariadb.result == 'cancelled' || needs.test-with-mariadb.result == 'failure'158 contains( needs.*.result, 'cancelled' ) || 159 contains( needs.*.result, 'failure' ) 160 160 ) 161 161 -
trunk/.github/workflows/test-and-zip-default-themes.yml
r56537 r56660 156 156 if: ${{ github.repository == 'WordPress/wordpress-develop' && github.event_name != 'pull_request' && always() }} 157 157 with: 158 calling_status: ${{ needs.test-build-scripts.result == 'success' && needs.bundle-theme.result == 'success' && 'success' || ( needs.test-build-scripts.result == 'cancelled' || needs.bundle-theme.result == 'cancelled' ) && 'cancelled' || 'failure' }}158 calling_status: ${{ contains( needs.*.result, 'cancelled' ) && 'cancelled' || contains( needs.*.result, 'failure' ) && 'failure' || 'success' }} 159 159 secrets: 160 160 SLACK_GHA_SUCCESS_WEBHOOK: ${{ secrets.SLACK_GHA_SUCCESS_WEBHOOK }} … … 175 175 github.run_attempt < 2 && 176 176 ( 177 needs.test-build-scripts.result == 'cancelled' || needs.test-build-scripts.result == 'failure'||178 needs.bundle-theme.result == 'cancelled' || needs.bundle-theme.result == 'failure'177 contains( needs.*.result, 'cancelled' ) || 178 contains( needs.*.result, 'failure' ) 179 179 ) 180 180 -
trunk/.github/workflows/test-coverage.yml
r56659 r56660 184 184 if: ${{ github.repository == 'WordPress/wordpress-develop' && github.event_name != 'pull_request' && always() }} 185 185 with: 186 calling_status: ${{ needs.test-coverage-report.result == 'success' && 'success' || needs.test-coverage-report.result == 'cancelled' && 'cancelled' || 'failure' }}186 calling_status: ${{ contains( needs.*.result, 'cancelled' ) && 'cancelled' || contains( needs.*.result, 'failure' ) && 'failure' || 'success' }} 187 187 secrets: 188 188 SLACK_GHA_SUCCESS_WEBHOOK: ${{ secrets.SLACK_GHA_SUCCESS_WEBHOOK }} … … 203 203 github.run_attempt < 2 && 204 204 ( 205 needs.test-coverage-report.result == 'cancelled' || needs.test-coverage-report.result == 'failure' 205 contains( needs.*.result, 'cancelled' ) || 206 contains( needs.*.result, 'failure' ) 206 207 ) 207 208 -
trunk/.github/workflows/test-npm.yml
r56659 r56660 185 185 if: ${{ github.repository == 'WordPress/wordpress-develop' && github.event_name != 'pull_request' && always() }} 186 186 with: 187 calling_status: ${{ needs.test-npm.result == 'success' && needs.test-npm-macos.result == 'success' && 'success' || ( needs.test-npm.result == 'cancelled' || needs.test-npm-macos.result == 'cancelled' ) && 'cancelled' || 'failure' }}187 calling_status: ${{ contains( needs.*.result, 'cancelled' ) && 'cancelled' || contains( needs.*.result, 'failure' ) && 'failure' || 'success' }} 188 188 secrets: 189 189 SLACK_GHA_SUCCESS_WEBHOOK: ${{ secrets.SLACK_GHA_SUCCESS_WEBHOOK }} … … 204 204 github.run_attempt < 2 && 205 205 ( 206 needs.test-npm.result == 'cancelled' || needs.test-npm.result == 'failure'||207 needs.test-npm-macos.result == 'cancelled' || needs.test-npm-macos.result == 'failure'206 contains( needs.*.result, 'cancelled' ) || 207 contains( needs.*.result, 'failure' ) 208 208 ) 209 209 -
trunk/.github/workflows/test-old-branches.yml
r56388 r56660 107 107 if: ${{ github.repository == 'WordPress/wordpress-develop' && github.event_name != 'pull_request' && always() }} 108 108 with: 109 calling_status: ${{ needs.dispatch-workflows-for-old-branches.result == 'success' && 'success' || needs.dispatch-workflows-for-old-branches.result == 'cancelled' && 'cancelled' || 'failure' }}109 calling_status: ${{ contains( needs.*.result, 'cancelled' ) && 'cancelled' || contains( needs.*.result, 'failure' ) && 'failure' || 'success' }} 110 110 secrets: 111 111 SLACK_GHA_SUCCESS_WEBHOOK: ${{ secrets.SLACK_GHA_SUCCESS_WEBHOOK }}
Note: See TracChangeset
for help on using the changeset viewer.