diff --git a/.github/workflows/javascript-type-checking.yml b/.github/workflows/javascript-type-checking.yml index 2cafb4c8d04fd..9dbc33bfb067f 100644 --- a/.github/workflows/javascript-type-checking.yml +++ b/.github/workflows/javascript-type-checking.yml @@ -27,7 +27,7 @@ on: - 'typings/**' # Confirm any changes to relevant workflow files. - '.github/workflows/javascript-type-checking.yml' - - '.github/workflows/reusable-javascript-type-checking.yml' + - '.github/workflows/reusable-javascript-type-checking-v1.yml' workflow_dispatch: # Cancels all previous workflow runs for pull requests that have not completed. @@ -45,10 +45,10 @@ jobs: # Runs JavaScript type checking. typecheck: name: JavaScript type checking - uses: ./.github/workflows/reusable-javascript-type-checking.yml + uses: ./.github/workflows/reusable-javascript-type-checking-v1.yml permissions: contents: read - if: ${{ github.repository == 'WordPress/wordpress-develop' || ( github.event_name == 'pull_request' && github.actor != 'dependabot[bot]' ) }} + if: ${{ github.repository == 'WordPress/wordpress-develop' || github.event_name == 'pull_request' }} slack-notifications: name: Slack Notifications diff --git a/.github/workflows/phpstan-static-analysis.yml b/.github/workflows/phpstan-static-analysis.yml index 85f492e5f13af..a479e8e371214 100644 --- a/.github/workflows/phpstan-static-analysis.yml +++ b/.github/workflows/phpstan-static-analysis.yml @@ -24,7 +24,7 @@ on: - 'tests/phpstan/baseline.php' # Confirm any changes to relevant workflow files. - '.github/workflows/phpstan-static-analysis.yml' - - '.github/workflows/reusable-phpstan-static-analysis.yml' + - '.github/workflows/reusable-phpstan-static-analysis-v1.yml' workflow_dispatch: # Cancels all previous workflow runs for pull requests that have not completed. @@ -42,10 +42,10 @@ jobs: # Runs PHPStan Static Analysis. phpstan: name: PHP static analysis - uses: ./.github/workflows/reusable-phpstan-static-analysis.yml + uses: ./.github/workflows/reusable-phpstan-static-analysis-v1.yml permissions: contents: read - if: ${{ github.repository == 'WordPress/wordpress-develop' || ( github.event_name == 'pull_request' && github.actor != 'dependabot[bot]' ) }} + if: ${{ github.repository == 'WordPress/wordpress-develop' || github.event_name == 'pull_request' }} slack-notifications: name: Slack Notifications diff --git a/.github/workflows/reusable-javascript-type-checking.yml b/.github/workflows/reusable-javascript-type-checking-v1.yml similarity index 100% rename from .github/workflows/reusable-javascript-type-checking.yml rename to .github/workflows/reusable-javascript-type-checking-v1.yml diff --git a/.github/workflows/reusable-phpstan-static-analysis.yml b/.github/workflows/reusable-phpstan-static-analysis-v1.yml similarity index 100% rename from .github/workflows/reusable-phpstan-static-analysis.yml rename to .github/workflows/reusable-phpstan-static-analysis-v1.yml