mirror of
git://develop.git.wordpress.org/
synced 2025-03-14 17:09:47 +01:00
Build/Test Tools: Simplify the required prerequisite jobs for the failed-workflow
job.
Because `slack-notifications` job requires all preceding jobs in each workflow to complete, there’s no need to include the same jobs in the `needs` configuration for the `failed-workflow` one. See #58867. git-svn-id: https://develop.svn.wordpress.org/trunk@56402 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
3131800198
commit
cc828e2619
2
.github/workflows/javascript-tests.yml
vendored
2
.github/workflows/javascript-tests.yml
vendored
@ -107,7 +107,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
actions: write
|
||||
needs: [ test-js, slack-notifications ]
|
||||
needs: [ slack-notifications ]
|
||||
if: |
|
||||
always() &&
|
||||
github.repository == 'WordPress/wordpress-develop' &&
|
||||
|
2
.github/workflows/performance.yml
vendored
2
.github/workflows/performance.yml
vendored
@ -221,7 +221,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
actions: write
|
||||
needs: [ performance, slack-notifications ]
|
||||
needs: [ slack-notifications ]
|
||||
if: |
|
||||
always() &&
|
||||
github.repository == 'WordPress/wordpress-develop' &&
|
||||
|
2
.github/workflows/php-compatibility.yml
vendored
2
.github/workflows/php-compatibility.yml
vendored
@ -132,7 +132,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
actions: write
|
||||
needs: [ php-compatibility, slack-notifications ]
|
||||
needs: [ slack-notifications ]
|
||||
if: |
|
||||
always() &&
|
||||
github.repository == 'WordPress/wordpress-develop' &&
|
||||
|
2
.github/workflows/phpunit-tests.yml
vendored
2
.github/workflows/phpunit-tests.yml
vendored
@ -216,7 +216,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
actions: write
|
||||
needs: [ test-php, slack-notifications ]
|
||||
needs: [ slack-notifications ]
|
||||
if: |
|
||||
always() &&
|
||||
github.repository == 'WordPress/wordpress-develop' &&
|
||||
|
@ -165,7 +165,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
actions: write
|
||||
needs: [ test-build-scripts, bundle-theme, slack-notifications ]
|
||||
needs: [ slack-notifications ]
|
||||
if: |
|
||||
always() &&
|
||||
github.repository == 'WordPress/wordpress-develop' &&
|
||||
|
2
.github/workflows/test-coverage.yml
vendored
2
.github/workflows/test-coverage.yml
vendored
@ -193,7 +193,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
actions: write
|
||||
needs: [ test-coverage-report, slack-notifications ]
|
||||
needs: [ slack-notifications ]
|
||||
if: |
|
||||
always() &&
|
||||
github.repository == 'WordPress/wordpress-develop' &&
|
||||
|
2
.github/workflows/test-npm.yml
vendored
2
.github/workflows/test-npm.yml
vendored
@ -192,7 +192,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
actions: write
|
||||
needs: [ test-npm, test-npm-macos, slack-notifications ]
|
||||
needs: [ slack-notifications ]
|
||||
if: |
|
||||
always() &&
|
||||
github.repository == 'WordPress/wordpress-develop' &&
|
||||
|
Loading…
x
Reference in New Issue
Block a user