Skip to content

Commit 35ddb19

Browse files
snomiaoclaude
andauthored
[ci] Upgrade actions/checkout from v4 to v5 (#5859)
## Summary - Upgrades all GitHub Actions workflows to use `actions/checkout@v5` - Updates 33 instances across 17 workflow files - Ensures we're using the latest version with security patches and improvements ## Changes Updated the following workflow files from `actions/checkout@v4` to `actions/checkout@v5`: - `.github/workflows/backport.yaml` - `.github/workflows/chromatic.yaml` - `.github/workflows/claude-pr-review.yml` - `.github/workflows/create-release-candidate-branch.yaml` - `.github/workflows/dev-release.yaml` - `.github/workflows/devtools-python.yaml` - `.github/workflows/i18n-custom-nodes.yaml` - `.github/workflows/json-validate.yaml` - `.github/workflows/lint-and-format.yaml` - `.github/workflows/pr-playwright-deploy.yaml` - `.github/workflows/pr-storybook-deploy.yaml` - `.github/workflows/test-ui.yaml` - `.github/workflows/update-electron-types.yaml` - `.github/workflows/update-manager-types.yaml` - `.github/workflows/update-registry-types.yaml` - `.github/workflows/version-bump.yaml` - `.github/workflows/vitest.yaml` Note: `.github/workflows/publish-frontend-types.yaml` and `.github/workflows/release.yaml` were already using v5. ## Test plan - [ ] CI workflows should continue to run successfully - [ ] No functional changes - this is a dependency version upgrade only 🤖 Generated with [Claude Code](https://claude.ai/code) ┆Issue is synchronized with this [Notion page](https://www.notion.so/PR-5859-ci-Upgrade-actions-checkout-from-v4-to-v5-27e6d73d3650815488adee20c74c0464) by [Unito](https://www.unito.io) Co-authored-by: Claude <[email protected]>
1 parent aed3425 commit 35ddb19

17 files changed

+29
-29
lines changed

.github/workflows/backport.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ jobs:
6060
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6161

6262
- name: Checkout repository
63-
uses: actions/checkout@v4
63+
uses: actions/checkout@v5
6464
with:
6565
fetch-depth: 0
6666

.github/workflows/chromatic.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
pull-requests: write
1717
steps:
1818
- name: Checkout repository
19-
uses: actions/checkout@v4
19+
uses: actions/checkout@v5
2020

2121
- name: Post starting comment
2222
env:
@@ -38,7 +38,7 @@ jobs:
3838
workflow-url: ${{ steps.workflow-url.outputs.url }}
3939
steps:
4040
- name: Checkout code
41-
uses: actions/checkout@v4
41+
uses: actions/checkout@v5
4242

4343
- name: Install pnpm
4444
uses: pnpm/action-setup@v4
@@ -101,7 +101,7 @@ jobs:
101101
chromatic-storybook-url: ${{ steps.chromatic.outputs.storybookUrl }}
102102
steps:
103103
- name: Checkout code
104-
uses: actions/checkout@v4
104+
uses: actions/checkout@v5
105105
with:
106106
fetch-depth: 0 # Required for Chromatic baseline
107107

@@ -164,7 +164,7 @@ jobs:
164164
contents: read
165165
steps:
166166
- name: Checkout repository
167-
uses: actions/checkout@v4
167+
uses: actions/checkout@v5
168168

169169
- name: Download Storybook build
170170
if: needs.storybook-build.outputs.conclusion == 'success'

.github/workflows/claude-pr-review.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
timeout-minutes: 30
5151
steps:
5252
- name: Checkout repository
53-
uses: actions/checkout@v4
53+
uses: actions/checkout@v5
5454
with:
5555
fetch-depth: 0
5656

.github/workflows/create-release-candidate-branch.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818

1919
steps:
2020
- name: Checkout repository
21-
uses: actions/checkout@v4
21+
uses: actions/checkout@v5
2222
with:
2323
fetch-depth: 0
2424
token: ${{ secrets.PR_GH_TOKEN || secrets.GITHUB_TOKEN }}

.github/workflows/dev-release.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
version: ${{ steps.current_version.outputs.version }}
1616
steps:
1717
- name: Checkout code
18-
uses: actions/checkout@v4
18+
uses: actions/checkout@v5
1919
- name: Install pnpm
2020
uses: pnpm/action-setup@v4
2121
with:
@@ -62,7 +62,7 @@ jobs:
6262
runs-on: ubuntu-latest
6363
steps:
6464
- name: Checkout code
65-
uses: actions/checkout@v4
65+
uses: actions/checkout@v5
6666
- name: Download dist artifact
6767
uses: actions/download-artifact@v4
6868
with:

.github/workflows/devtools-python.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515

1616
steps:
1717
- name: Checkout repository
18-
uses: actions/checkout@v4
18+
uses: actions/checkout@v5
1919

2020
- name: Set up Python
2121
uses: actions/setup-python@v5

.github/workflows/i18n-custom-nodes.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,13 @@ jobs:
2222
runs-on: ubuntu-latest
2323
steps:
2424
- name: Checkout ComfyUI
25-
uses: actions/checkout@v4
25+
uses: actions/checkout@v5
2626
with:
2727
repository: comfyanonymous/ComfyUI
2828
path: ComfyUI
2929
ref: master
3030
- name: Checkout ComfyUI_frontend
31-
uses: actions/checkout@v4
31+
uses: actions/checkout@v5
3232
with:
3333
repository: Comfy-Org/ComfyUI_frontend
3434
path: ComfyUI_frontend
@@ -37,7 +37,7 @@ jobs:
3737
mkdir -p ComfyUI/custom_nodes/ComfyUI_devtools
3838
cp -r ComfyUI_frontend/tools/devtools/* ComfyUI/custom_nodes/ComfyUI_devtools/
3939
- name: Checkout custom node repository
40-
uses: actions/checkout@v4
40+
uses: actions/checkout@v5
4141
with:
4242
repository: ${{ inputs.owner }}/${{ inputs.repository }}
4343
path: 'ComfyUI/custom_nodes/${{ inputs.repository }}'

.github/workflows/json-validate.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@ jobs:
1010
json-lint:
1111
runs-on: ubuntu-latest
1212
steps:
13-
- uses: actions/checkout@v4
13+
- uses: actions/checkout@v5
1414
- name: Validate JSON syntax
1515
run: ./scripts/cicd/check-json.sh

.github/workflows/lint-and-format.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
runs-on: ubuntu-latest
1414
steps:
1515
- name: Checkout PR
16-
uses: actions/checkout@v4
16+
uses: actions/checkout@v5
1717
with:
1818
token: ${{ secrets.GITHUB_TOKEN }}
1919
ref: ${{ github.event.pull_request.head.ref }}

.github/workflows/pr-playwright-deploy.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
echo "Is forked: ${{ github.event.workflow_run.head_repository.full_name != github.event.workflow_run.repository.full_name }}"
3131
3232
- name: Checkout repository
33-
uses: actions/checkout@v4
33+
uses: actions/checkout@v5
3434

3535
- name: Get PR Number
3636
id: pr

0 commit comments

Comments
 (0)