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:
Jonathan Desrosiers 2023-08-17 14:42:58 +00:00
parent 3131800198
commit cc828e2619
7 changed files with 7 additions and 7 deletions

View File

@ -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' &&

View File

@ -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' &&

View File

@ -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' &&

View File

@ -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' &&

View File

@ -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' &&

View File

@ -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' &&

View File

@ -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' &&