Skip to content

Commit 1aeac74

Browse files
westonrutergemini-code-assist[bot]desrosj
committed
Build/Test Tools: Add -v1 suffix to reusable workflows for JavaScript type checking and PHPStan analysis.
This follows the established convention of including a version suffix for reusable workflow files, ensuring consistency with other workflows like PHPUnit. Follow up to r61830, r61699. Co-authored-by: gemini-cli <176961590+gemini-code-assist[bot]@users.noreply.github.com> Co-authored-by: Jonathan Desrosiers <desrosj@git.wordpress.org>
1 parent e1c433c commit 1aeac74

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/javascript-type-checking.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ on:
2727
- 'typings/**'
2828
# Confirm any changes to relevant workflow files.
2929
- '.github/workflows/javascript-type-checking.yml'
30-
- '.github/workflows/reusable-javascript-type-checking.yml'
30+
- '.github/workflows/reusable-javascript-type-checking-v1.yml'
3131
workflow_dispatch:
3232

3333
# Cancels all previous workflow runs for pull requests that have not completed.
@@ -45,7 +45,7 @@ jobs:
4545
# Runs JavaScript type checking.
4646
typecheck:
4747
name: JavaScript type checking
48-
uses: ./.github/workflows/reusable-javascript-type-checking.yml
48+
uses: ./.github/workflows/reusable-javascript-type-checking-v1.yml
4949
permissions:
5050
contents: read
5151
if: ${{ github.repository == 'WordPress/wordpress-develop' || ( github.event_name == 'pull_request' && github.actor != 'dependabot[bot]' ) }}

.github/workflows/phpstan-static-analysis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ on:
2424
- 'tests/phpstan/baseline.php'
2525
# Confirm any changes to relevant workflow files.
2626
- '.github/workflows/phpstan-static-analysis.yml'
27-
- '.github/workflows/reusable-phpstan-static-analysis.yml'
27+
- '.github/workflows/reusable-phpstan-static-analysis-v1.yml'
2828
workflow_dispatch:
2929

3030
# Cancels all previous workflow runs for pull requests that have not completed.
@@ -42,7 +42,7 @@ jobs:
4242
# Runs PHPStan Static Analysis.
4343
phpstan:
4444
name: PHP static analysis
45-
uses: ./.github/workflows/reusable-phpstan-static-analysis.yml
45+
uses: ./.github/workflows/reusable-phpstan-static-analysis-v1.yml
4646
permissions:
4747
contents: read
4848
if: ${{ github.repository == 'WordPress/wordpress-develop' || ( github.event_name == 'pull_request' && github.actor != 'dependabot[bot]' ) }}

.github/workflows/reusable-javascript-type-checking.yml renamed to .github/workflows/reusable-javascript-type-checking-v1.yml

File renamed without changes.

.github/workflows/reusable-phpstan-static-analysis.yml renamed to .github/workflows/reusable-phpstan-static-analysis-v1.yml

File renamed without changes.

0 commit comments

Comments
 (0)