From cc828e2619e0f538ec8e1efa0b315755e4e98075 Mon Sep 17 00:00:00 2001 From: Jonathan Desrosiers Date: Thu, 17 Aug 2023 14:42:58 +0000 Subject: [PATCH] Build/Test Tools: Simplify the required prerequisite jobs for the `failed-workflow` job. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- .github/workflows/javascript-tests.yml | 2 +- .github/workflows/performance.yml | 2 +- .github/workflows/php-compatibility.yml | 2 +- .github/workflows/phpunit-tests.yml | 2 +- .github/workflows/test-and-zip-default-themes.yml | 2 +- .github/workflows/test-coverage.yml | 2 +- .github/workflows/test-npm.yml | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/javascript-tests.yml b/.github/workflows/javascript-tests.yml index 9db5e5b644..2677096b1b 100644 --- a/.github/workflows/javascript-tests.yml +++ b/.github/workflows/javascript-tests.yml @@ -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' && diff --git a/.github/workflows/performance.yml b/.github/workflows/performance.yml index e3f3943711..53b9efb6ba 100644 --- a/.github/workflows/performance.yml +++ b/.github/workflows/performance.yml @@ -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' && diff --git a/.github/workflows/php-compatibility.yml b/.github/workflows/php-compatibility.yml index 8cecc14190..44ddf710bd 100644 --- a/.github/workflows/php-compatibility.yml +++ b/.github/workflows/php-compatibility.yml @@ -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' && diff --git a/.github/workflows/phpunit-tests.yml b/.github/workflows/phpunit-tests.yml index a8ad2a5773..9ee25bed31 100644 --- a/.github/workflows/phpunit-tests.yml +++ b/.github/workflows/phpunit-tests.yml @@ -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' && diff --git a/.github/workflows/test-and-zip-default-themes.yml b/.github/workflows/test-and-zip-default-themes.yml index 696db86e5e..9757e02af1 100644 --- a/.github/workflows/test-and-zip-default-themes.yml +++ b/.github/workflows/test-and-zip-default-themes.yml @@ -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' && diff --git a/.github/workflows/test-coverage.yml b/.github/workflows/test-coverage.yml index 00e4cf40f8..dd2389486f 100644 --- a/.github/workflows/test-coverage.yml +++ b/.github/workflows/test-coverage.yml @@ -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' && diff --git a/.github/workflows/test-npm.yml b/.github/workflows/test-npm.yml index 8058081cdb..f73c2a01d7 100644 --- a/.github/workflows/test-npm.yml +++ b/.github/workflows/test-npm.yml @@ -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' &&