Skip to content

Commit c9bdbe0

Browse files
committed
Build/Test Tools: Use the exact tag name in version number comments that trail pinned actions.
None of these actions use `v`-prefixed tag names. See #64227 git-svn-id: https://develop.svn.wordpress.org/trunk@62254 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 6ad3233 commit c9bdbe0

9 files changed

Lines changed: 14 additions & 14 deletions

.github/workflows/install-testing.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ jobs:
117117
118118
steps:
119119
- name: Set up PHP ${{ matrix.php }}
120-
uses: shivammathur/setup-php@accd6127cb78bee3e8082180cb391013d204ef9f # v2.37.0
120+
uses: shivammathur/setup-php@accd6127cb78bee3e8082180cb391013d204ef9f # 2.37.0
121121
with:
122122
php-version: '${{ matrix.php }}'
123123
coverage: none

.github/workflows/reusable-check-built-files.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ jobs:
5757
# Since Composer dependencies are installed using `composer update` and no lock file is in version control,
5858
# passing a custom cache suffix ensures that the cache is flushed at least once per week.
5959
- name: Install Composer dependencies
60-
uses: ramsey/composer-install@65e4f84970763564f46a70b8a54b90d033b3bdda # v4.0.0
60+
uses: ramsey/composer-install@65e4f84970763564f46a70b8a54b90d033b3bdda # 4.0.0
6161
with:
6262
custom-cache-suffix: ${{ steps.get-date.outputs.date }}
6363

.github/workflows/reusable-coding-standards-php.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
persist-credentials: false
5353

5454
- name: Set up PHP
55-
uses: shivammathur/setup-php@accd6127cb78bee3e8082180cb391013d204ef9f # v2.37.0
55+
uses: shivammathur/setup-php@accd6127cb78bee3e8082180cb391013d204ef9f # 2.37.0
5656
with:
5757
php-version: ${{ inputs.php-version }}
5858
coverage: none
@@ -75,7 +75,7 @@ jobs:
7575
# Since Composer dependencies are installed using `composer update` and no lock file is in version control,
7676
# passing a custom cache suffix ensures that the cache is flushed at least once per week.
7777
- name: Install Composer dependencies
78-
uses: ramsey/composer-install@65e4f84970763564f46a70b8a54b90d033b3bdda # v4.0.0
78+
uses: ramsey/composer-install@65e4f84970763564f46a70b8a54b90d033b3bdda # 4.0.0
7979
with:
8080
custom-cache-suffix: ${{ steps.get-date.outputs.date }}
8181

.github/workflows/reusable-php-compatibility.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
persist-credentials: false
4747

4848
- name: Set up PHP
49-
uses: shivammathur/setup-php@accd6127cb78bee3e8082180cb391013d204ef9f # v2.37.0
49+
uses: shivammathur/setup-php@accd6127cb78bee3e8082180cb391013d204ef9f # 2.37.0
5050
with:
5151
php-version: ${{ inputs.php-version }}
5252
coverage: none
@@ -71,7 +71,7 @@ jobs:
7171
# Since Composer dependencies are installed using `composer update` and no lock file is in version control,
7272
# passing a custom cache suffix ensures that the cache is flushed at least once per week.
7373
- name: Install Composer dependencies
74-
uses: ramsey/composer-install@65e4f84970763564f46a70b8a54b90d033b3bdda # v4.0.0
74+
uses: ramsey/composer-install@65e4f84970763564f46a70b8a54b90d033b3bdda # 4.0.0
7575
with:
7676
custom-cache-suffix: ${{ steps.get-date.outputs.date }}
7777

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
cache: npm
5353

5454
- name: Set up PHP
55-
uses: shivammathur/setup-php@accd6127cb78bee3e8082180cb391013d204ef9f # v2.37.0
55+
uses: shivammathur/setup-php@accd6127cb78bee3e8082180cb391013d204ef9f # 2.37.0
5656
with:
5757
php-version: ${{ inputs.php-version }}
5858
coverage: none
@@ -73,7 +73,7 @@ jobs:
7373
# Since Composer dependencies are installed using `composer update` and no lock file is in version control,
7474
# passing a custom cache suffix ensures that the cache is flushed at least once per week.
7575
- name: Install Composer dependencies
76-
uses: ramsey/composer-install@65e4f84970763564f46a70b8a54b90d033b3bdda # v4.0.0
76+
uses: ramsey/composer-install@65e4f84970763564f46a70b8a54b90d033b3bdda # 4.0.0
7777
with:
7878
custom-cache-suffix: ${{ steps.get-date.outputs.date }}
7979

.github/workflows/reusable-phpunit-tests-v3.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,15 +150,15 @@ jobs:
150150
# dependency versions are installed and cached.
151151
##
152152
- name: Set up PHP
153-
uses: shivammathur/setup-php@accd6127cb78bee3e8082180cb391013d204ef9f # v2.37.0
153+
uses: shivammathur/setup-php@accd6127cb78bee3e8082180cb391013d204ef9f # 2.37.0
154154
with:
155155
php-version: '${{ inputs.php }}'
156156
coverage: none
157157

158158
# Since Composer dependencies are installed using `composer update` and no lock file is in version control,
159159
# passing a custom cache suffix ensures that the cache is flushed at least once per week.
160160
- name: Install Composer dependencies
161-
uses: ramsey/composer-install@65e4f84970763564f46a70b8a54b90d033b3bdda # v4.0.0
161+
uses: ramsey/composer-install@65e4f84970763564f46a70b8a54b90d033b3bdda # 4.0.0
162162
with:
163163
custom-cache-suffix: $(/bin/date -u --date='last Mon' "+%F")
164164

.github/workflows/reusable-test-core-build-process.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ jobs:
8686
# passing a custom cache suffix ensures that the cache is flushed at least once per week.
8787
- name: Install Composer dependencies
8888
if: ${{ inputs.test-certificates }}
89-
uses: ramsey/composer-install@65e4f84970763564f46a70b8a54b90d033b3bdda # v4.0.0
89+
uses: ramsey/composer-install@65e4f84970763564f46a70b8a54b90d033b3bdda # 4.0.0
9090
with:
9191
custom-cache-suffix: ${{ steps.get-date.outputs.date }}
9292

.github/workflows/reusable-test-local-docker-environment-v1.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,15 +105,15 @@ jobs:
105105
# dependency versions are installed and cached.
106106
##
107107
- name: Set up PHP
108-
uses: shivammathur/setup-php@accd6127cb78bee3e8082180cb391013d204ef9f # v2.37.0
108+
uses: shivammathur/setup-php@accd6127cb78bee3e8082180cb391013d204ef9f # 2.37.0
109109
with:
110110
php-version: '${{ inputs.php }}'
111111
coverage: none
112112

113113
# Since Composer dependencies are installed using `composer update` and no lock file is in version control,
114114
# passing a custom cache suffix ensures that the cache is flushed at least once per week.
115115
- name: Install Composer dependencies
116-
uses: ramsey/composer-install@65e4f84970763564f46a70b8a54b90d033b3bdda # v4.0.0
116+
uses: ramsey/composer-install@65e4f84970763564f46a70b8a54b90d033b3bdda # 4.0.0
117117
with:
118118
custom-cache-suffix: $(/bin/date -u --date='last Mon' "+%F")
119119

.github/workflows/reusable-upgrade-testing.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ jobs:
7878
7979
steps:
8080
- name: Set up PHP ${{ inputs.php }}
81-
uses: shivammathur/setup-php@accd6127cb78bee3e8082180cb391013d204ef9f # v2.37.0
81+
uses: shivammathur/setup-php@accd6127cb78bee3e8082180cb391013d204ef9f # 2.37.0
8282
with:
8383
php-version: '${{ inputs.php }}'
8484
coverage: none

0 commit comments

Comments
 (0)