Skip to content

Commit 4c3558c

Browse files
authored
Merge pull request #2267 from WordPress/dependabot/github_actions/actions/checkout-5.0.1
Bump actions/checkout from 5.0.0 to 5.0.1
2 parents f5ffcc8 + 67dee59 commit 4c3558c

File tree

10 files changed

+13
-13
lines changed

10 files changed

+13
-13
lines changed

.github/workflows/bump-wordpress-tested-up-to.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
matrix: ${{ steps.set-matrix.outputs.plugins }}
1717
steps:
1818
- name: Checkout
19-
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
19+
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v5
2020

2121
- name: Configure plugin matrix
2222
id: set-matrix
@@ -46,7 +46,7 @@ jobs:
4646
plugin: ${{ fromJSON(needs.prepare-matrix.outputs.matrix) }}
4747
steps:
4848
- name: Checkout
49-
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
49+
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v5
5050

5151
- name: Download WordPress.org readme
5252
run: |

.github/workflows/codeql-analysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
security-events: write
3434
steps:
3535
- name: Checkout
36-
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
36+
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v5
3737

3838
- name: Initialize CodeQL
3939
uses: github/codeql-action/init@014f16e7ab1402f30e7c3329d33797e7948572db # v4

.github/workflows/deploy-plugins.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
matrix: ${{ steps.set-matrix.outputs.plugins }}
2727
steps:
2828
- name: Checkout
29-
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
29+
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v5
3030

3131
- name: Set matrix
3232
id: set-matrix
@@ -58,7 +58,7 @@ jobs:
5858
plugin: ${{ fromJSON(needs.pre-run.outputs.matrix) }}
5959
steps:
6060
- name: Checkout
61-
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
61+
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v5
6262

6363
- name: Setup Node.js (.nvmrc)
6464
uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6

.github/workflows/e2e-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
timeout-minutes: 20
3434
steps:
3535
- name: Checkout
36-
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
36+
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v5
3737

3838
- name: Setup Node.js (.nvmrc)
3939
uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6

.github/workflows/js-lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
timeout-minutes: 20
3939
steps:
4040
- uses: styfle/cancel-workflow-action@85880fa0301c86cca9da44039ee3bb12d3bedbfa # 0.12.1
41-
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
41+
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v5
4242
- name: Setup Node.js (via .nvmrc)
4343
uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6
4444
with:

.github/workflows/php-lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
timeout-minutes: 20
3535
steps:
3636
- uses: styfle/cancel-workflow-action@85880fa0301c86cca9da44039ee3bb12d3bedbfa # 0.12.1
37-
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
37+
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v5
3838
- uses: shivammathur/setup-php@bf6b4fbd49ca58e4608c9c89fba0b8d90bd2a39f # v2
3939
with:
4040
php-version: latest

.github/workflows/php-test-plugins.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ jobs:
5858
WP_ENV_CORE: ${{ matrix.wp == 'trunk' && 'WordPress/WordPress' || format( 'https://wordpress.org/wordpress-{0}.zip', matrix.wp ) }}
5959
steps:
6060
- uses: styfle/cancel-workflow-action@85880fa0301c86cca9da44039ee3bb12d3bedbfa # 0.12.1
61-
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
61+
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v5
6262
- name: Setup Node.js (.nvmrc)
6363
uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6
6464
with:

.github/workflows/spell-check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
name: Spell Check with Typos
88
runs-on: ubuntu-latest
99
steps:
10-
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
10+
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v5
1111
- name: Search for misspellings
1212
uses: crate-ci/typos@626c4bedb751ce0b7f03262ca97ddda9a076ae1c # master
1313
with:

plugins/webp-uploads/hooks.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -947,7 +947,7 @@ function webp_uploads_convert_palette_png_to_truecolor( $file ): array {
947947

948948
// Check if the image is already truecolor.
949949
if ( imageistruecolor( $image ) ) {
950-
imagedestroy( $image );
950+
imagedestroy( $image ); // phpcs:ignore Generic.PHP.DeprecatedFunctions.Deprecated
951951
return $file;
952952
}
953953

@@ -960,7 +960,7 @@ function webp_uploads_convert_palette_png_to_truecolor( $file ): array {
960960
// Overwrite the upload with the new truecolor PNG.
961961
imagepng( $image, $file['tmp_name'] );
962962
}
963-
imagedestroy( $image );
963+
imagedestroy( $image ); // phpcs:ignore Generic.PHP.DeprecatedFunctions.Deprecated
964964

965965
return $file;
966966
}

plugins/webp-uploads/tests/test-load.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1190,7 +1190,7 @@ static function () {
11901190
$this->assertNotSame( $original_file_hash, $modified_file_hash );
11911191
$img = imagecreatefrompng( $path );
11921192
$this->assertTrue( imageistruecolor( $img ) );
1193-
imagedestroy( $img );
1193+
imagedestroy( $img ); // phpcs:ignore Generic.PHP.DeprecatedFunctions.Deprecated
11941194

11951195
// Make sure the image converted to modern image format is not 0 bytes.
11961196
$modern_image_format_path = get_attached_file( $attachment_id );

0 commit comments

Comments
 (0)