ci: upgrade actions/checkout to v7.0.1 (Node 24)

- Replace pinned checkout commit 11bd7190 (v4.2.2, Node 20) with
  3d3c42e (v7.0.1, Node 24) in ci.yml (3 refs) and auto-merge-journal.yml (1 ref)
- Clears the 'Node.js 20 is deprecated' runner annotation
This commit is contained in:
yhc
2026-08-10 19:21:00 +08:00
parent 5906d74b2d
commit 0f6e85cd72
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ jobs:
steps:
- name: Checkout PR
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
fetch-depth: 0
+3 -3
View File
@@ -16,7 +16,7 @@ jobs:
os: [windows-latest, ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
# 脚本内部以 `powershell` 调用子进程;Linux runner 只有 pwsh,做个 shim
- name: powershell shim (linux)
@@ -53,7 +53,7 @@ jobs:
name: shell script syntax check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: bash -n all .sh
shell: bash
run: |
@@ -131,7 +131,7 @@ jobs:
name: version consistency
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: VERSION matches latest CHANGELOG release
shell: pwsh
run: |