@@ -26,10 +26,10 @@ jobs:
2626
2727 steps :
2828 - name : Checkout repository
29- uses : actions/checkout@v5
29+ uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
3030
3131 - name : Setup PHP
32- uses : shivammathur/setup-php@v2
32+ uses : shivammathur/setup-php@bf6b4fbd49ca58e4608c9c89fba0b8d90bd2a39f # 2.35.5
3333 with :
3434 php-version : ' latest'
3535 coverage : none
4848 phpcsstandards/phpcsextra:"${{ env.EXTRA_DEV }}"
4949
5050 - name : Install Composer dependencies
51- uses : ramsey/composer-install@v3
51+ uses : ramsey/composer-install@3cf229dc2919194e9e36783941438d17239e8520 # 3.1.1
5252 with :
5353 # Bust the cache at least once a month - output format: YYYY-MM.
5454 custom-cache-suffix : $(date -u "+%Y-%m")
@@ -64,38 +64,38 @@ jobs:
6464 # Validate the Ruleset XML files.
6565 # @link http://xmlsoft.org/xmllint.html
6666 - name : Validate the WordPress rulesets
67- uses : phpcsstandards/xmllint-validate@v1
67+ uses : phpcsstandards/xmllint-validate@0fd9c4a9046055f621fca4bbdccb8eab1fd59fdc # v1.0.1
6868 with :
6969 pattern : " ./*/ruleset.xml"
7070 xsd-file : " vendor/squizlabs/php_codesniffer/phpcs.xsd"
7171
7272 - name : Validate the sample ruleset
73- uses : phpcsstandards/xmllint-validate@v1
73+ uses : phpcsstandards/xmllint-validate@0fd9c4a9046055f621fca4bbdccb8eab1fd59fdc # v1.0.1
7474 with :
7575 pattern : " phpcs.xml.dist.sample"
7676 xsd-file : " vendor/squizlabs/php_codesniffer/phpcs.xsd"
7777
7878 # Validate the Documentation XML files.
7979 - name : Validate documentation against schema
80- uses : phpcsstandards/xmllint-validate@v1
80+ uses : phpcsstandards/xmllint-validate@0fd9c4a9046055f621fca4bbdccb8eab1fd59fdc # v1.0.1
8181 with :
8282 pattern : " ./WordPress/Docs/*/*Standard.xml"
8383 xsd-file : " vendor/phpcsstandards/phpcsdevtools/DocsXsd/phpcsdocs.xsd"
8484
8585 - name : Validate Project PHPCS ruleset against schema
86- uses : phpcsstandards/xmllint-validate@v1
86+ uses : phpcsstandards/xmllint-validate@0fd9c4a9046055f621fca4bbdccb8eab1fd59fdc # v1.0.1
8787 with :
8888 pattern : " .phpcs.xml.dist"
8989 xsd-file : " vendor/squizlabs/php_codesniffer/phpcs.xsd"
9090
9191 - name : " Validate PHPUnit config for use with PHPUnit 8"
92- uses : phpcsstandards/xmllint-validate@v1
92+ uses : phpcsstandards/xmllint-validate@0fd9c4a9046055f621fca4bbdccb8eab1fd59fdc # v1.0.1
9393 with :
9494 pattern : " phpunit.xml.dist"
9595 xsd-file : " vendor/phpunit/phpunit/schema/8.5.xsd"
9696
9797 - name : " Validate PHPUnit config for use with PHPUnit 9"
98- uses : phpcsstandards/xmllint-validate@v1
98+ uses : phpcsstandards/xmllint-validate@0fd9c4a9046055f621fca4bbdccb8eab1fd59fdc # v1.0.1
9999 with :
100100 pattern : " phpunit.xml.dist"
101101 xsd-file : " vendor/phpunit/phpunit/schema/9.2.xsd"
@@ -115,7 +115,7 @@ jobs:
115115
116116 steps :
117117 - name : Checkout code
118- uses : actions/checkout@v5
118+ uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
119119
120120 # Updating the lists can fail intermittently, typically after Microsoft has released a new package.
121121 # This should not be blocking for this job, so ignore any errors from this step.
@@ -129,7 +129,7 @@ jobs:
129129
130130 # Show XML violations inline in the file diff.
131131 - name : Enable showing XML issues inline
132- uses : korelstar/xmllint-problem-matcher@v1
132+ uses : korelstar/xmllint-problem-matcher@1bd292d642ddf3d369d02aaa8b262834d61198c0 # v1.2.0
133133
134134 - name : Check the code-style consistency of the xml files
135135 run : |
@@ -153,10 +153,10 @@ jobs:
153153
154154 steps :
155155 - name : Checkout repository
156- uses : actions/checkout@v5
156+ uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
157157
158158 - name : Set up PHP
159- uses : shivammathur/setup-php@v2
159+ uses : shivammathur/setup-php@bf6b4fbd49ca58e4608c9c89fba0b8d90bd2a39f # 2.35.5
160160 with :
161161 php-version : ${{ matrix.php }}
162162 # Allow for PHP deprecation notices.
@@ -176,7 +176,7 @@ jobs:
176176 run : composer config --unset lock
177177
178178 - name : Install Composer dependencies
179- uses : ramsey/composer-install@v3
179+ uses : ramsey/composer-install@3cf229dc2919194e9e36783941438d17239e8520 # 3.1.1
180180 with :
181181 composer-options : --no-dev
182182 # Bust the cache at least once a month - output format: YYYY-MM.
@@ -234,10 +234,10 @@ jobs:
234234
235235 steps :
236236 - name : Checkout code
237- uses : actions/checkout@v5
237+ uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
238238
239239 - name : Install PHP
240- uses : shivammathur/setup-php@v2
240+ uses : shivammathur/setup-php@bf6b4fbd49ca58e4608c9c89fba0b8d90bd2a39f # 2.35.5
241241 with :
242242 php-version : ' latest'
243243 coverage : none
@@ -247,7 +247,7 @@ jobs:
247247 # Dependencies need to be installed to make sure the PHPCS and PHPUnit classes are recognized.
248248 # @link https://github.com/marketplace/actions/install-php-dependencies-with-composer
249249 - name : Install Composer dependencies
250- uses : " ramsey/composer-install@v3 "
250+ uses : " ramsey/composer-install@3cf229dc2919194e9e36783941438d17239e8520 " # 3.1.1
251251 with :
252252 # Bust the cache at least once a month - output format: YYYY-MM.
253253 custom-cache-suffix : $(date -u "+%Y-%m")
@@ -262,7 +262,7 @@ jobs:
262262
263263 steps :
264264 - name : " Checkout"
265- uses : " actions/checkout@v5 "
265+ uses : " actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 " # v5.0.0
266266
267267 - name : " Search for misspellings"
268- uses : " crate-ci/typos@v1 "
268+ uses : " crate-ci/typos@85f62a8a84f939ae994ab3763f01a0296d61a7ee " # v1.36.2
0 commit comments