From f52f12eba59d1443b4d58ae0369f2beeff083081 Mon Sep 17 00:00:00 2001 From: Dale Seo <5466341+DaleSeo@users.noreply.github.com> Date: Mon, 20 Oct 2025 12:11:13 -0400 Subject: [PATCH] chore: upgrade actions/checkout from v4 to v5 (#632) --- .github/workflows/ci.yml | 6 +++--- .github/workflows/claude-review.yml | 2 +- .github/workflows/claude.yml | 2 +- .github/workflows/issue-triage.yml | 2 +- .github/workflows/release.yml | 6 +++--- base-action/README.md | 2 +- docs/faq.md | 2 +- docs/solutions.md | 16 ++++++++-------- examples/ci-failure-auto-fix.yml | 2 +- examples/claude.yml | 2 +- examples/issue-deduplication.yml | 2 +- examples/issue-triage.yml | 2 +- examples/manual-code-analysis.yml | 2 +- examples/pr-review-comprehensive.yml | 2 +- examples/pr-review-filtered-authors.yml | 2 +- examples/pr-review-filtered-paths.yml | 2 +- 16 files changed, 27 insertions(+), 27 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fc2b70e..c24dfdf 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,7 +9,7 @@ jobs: test: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - uses: oven-sh/setup-bun@v2 with: @@ -24,7 +24,7 @@ jobs: prettier: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - uses: oven-sh/setup-bun@v1 with: @@ -39,7 +39,7 @@ jobs: typecheck: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - uses: oven-sh/setup-bun@v2 with: diff --git a/.github/workflows/claude-review.yml b/.github/workflows/claude-review.yml index df164f5..fc70561 100644 --- a/.github/workflows/claude-review.yml +++ b/.github/workflows/claude-review.yml @@ -13,7 +13,7 @@ jobs: id-token: write steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v5 with: fetch-depth: 1 diff --git a/.github/workflows/claude.yml b/.github/workflows/claude.yml index b4e80f0..32e3b4d 100644 --- a/.github/workflows/claude.yml +++ b/.github/workflows/claude.yml @@ -25,7 +25,7 @@ jobs: id-token: write steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v5 with: fetch-depth: 1 diff --git a/.github/workflows/issue-triage.yml b/.github/workflows/issue-triage.yml index 94817d5..599df15 100644 --- a/.github/workflows/issue-triage.yml +++ b/.github/workflows/issue-triage.yml @@ -14,7 +14,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v5 with: fetch-depth: 0 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7b53450..3d611fa 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -19,7 +19,7 @@ jobs: next_version: ${{ steps.next_version.outputs.next_version }} steps: - name: Checkout code - uses: actions/checkout@v4 + uses: actions/checkout@v5 with: fetch-depth: 0 @@ -91,7 +91,7 @@ jobs: contents: write steps: - name: Checkout code - uses: actions/checkout@v4 + uses: actions/checkout@v5 with: fetch-depth: 0 @@ -116,7 +116,7 @@ jobs: environment: production steps: - name: Checkout base-action repo - uses: actions/checkout@v4 + uses: actions/checkout@v5 with: repository: anthropics/claude-code-base-action token: ${{ secrets.CLAUDE_CODE_BASE_ACTION_PAT }} diff --git a/base-action/README.md b/base-action/README.md index 5047631..40e4035 100644 --- a/base-action/README.md +++ b/base-action/README.md @@ -336,7 +336,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v4 + uses: actions/checkout@v5 with: fetch-depth: 0 diff --git a/docs/faq.md b/docs/faq.md index 1836354..26af2d6 100644 --- a/docs/faq.md +++ b/docs/faq.md @@ -127,7 +127,7 @@ For performance, Claude uses shallow clones: If you need full history, you can configure this in your workflow before calling Claude in the `actions/checkout` step. ``` -- uses: actions/checkout@v4 +- uses: actions/checkout@v5 depth: 0 # will fetch full repo history ``` diff --git a/docs/solutions.md b/docs/solutions.md index 7b3982f..2315064 100644 --- a/docs/solutions.md +++ b/docs/solutions.md @@ -35,7 +35,7 @@ jobs: pull-requests: write id-token: write steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 with: fetch-depth: 1 @@ -89,7 +89,7 @@ jobs: pull-requests: write id-token: write steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 with: fetch-depth: 1 @@ -153,7 +153,7 @@ jobs: pull-requests: write id-token: write steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 with: fetch-depth: 1 @@ -211,7 +211,7 @@ jobs: pull-requests: write id-token: write steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 with: fetch-depth: 1 @@ -268,7 +268,7 @@ jobs: pull-requests: write id-token: write steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 with: fetch-depth: 1 @@ -344,7 +344,7 @@ jobs: pull-requests: write id-token: write steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 with: fetch-depth: 0 @@ -456,7 +456,7 @@ jobs: pull-requests: write id-token: write steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 with: ref: ${{ github.event.pull_request.head.ref }} fetch-depth: 0 @@ -513,7 +513,7 @@ jobs: security-events: write id-token: write steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 with: fetch-depth: 1 diff --git a/examples/ci-failure-auto-fix.yml b/examples/ci-failure-auto-fix.yml index b20f6cd..9d4421d 100644 --- a/examples/ci-failure-auto-fix.yml +++ b/examples/ci-failure-auto-fix.yml @@ -22,7 +22,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v4 + uses: actions/checkout@v5 with: ref: ${{ github.event.workflow_run.head_branch }} fetch-depth: 0 diff --git a/examples/claude.yml b/examples/claude.yml index 556b5e6..aedb2e2 100644 --- a/examples/claude.yml +++ b/examples/claude.yml @@ -26,7 +26,7 @@ jobs: actions: read # Required for Claude to read CI results on PRs steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v5 with: fetch-depth: 1 diff --git a/examples/issue-deduplication.yml b/examples/issue-deduplication.yml index b7d187e..59cb90d 100644 --- a/examples/issue-deduplication.yml +++ b/examples/issue-deduplication.yml @@ -15,7 +15,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v5 with: fetch-depth: 1 diff --git a/examples/issue-triage.yml b/examples/issue-triage.yml index a1f4b64..91ef2a3 100644 --- a/examples/issue-triage.yml +++ b/examples/issue-triage.yml @@ -14,7 +14,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v5 with: fetch-depth: 0 diff --git a/examples/manual-code-analysis.yml b/examples/manual-code-analysis.yml index ca3fac9..0e4c71d 100644 --- a/examples/manual-code-analysis.yml +++ b/examples/manual-code-analysis.yml @@ -23,7 +23,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v5 with: fetch-depth: 2 # Need at least 2 commits to analyze the latest diff --git a/examples/pr-review-comprehensive.yml b/examples/pr-review-comprehensive.yml index 90563c4..3002b4d 100644 --- a/examples/pr-review-comprehensive.yml +++ b/examples/pr-review-comprehensive.yml @@ -16,7 +16,7 @@ jobs: id-token: write steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v5 with: fetch-depth: 1 diff --git a/examples/pr-review-filtered-authors.yml b/examples/pr-review-filtered-authors.yml index d46c1b6..0032720 100644 --- a/examples/pr-review-filtered-authors.yml +++ b/examples/pr-review-filtered-authors.yml @@ -18,7 +18,7 @@ jobs: id-token: write steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v5 with: fetch-depth: 1 diff --git a/examples/pr-review-filtered-paths.yml b/examples/pr-review-filtered-paths.yml index a8226a8..f465a4b 100644 --- a/examples/pr-review-filtered-paths.yml +++ b/examples/pr-review-filtered-paths.yml @@ -19,7 +19,7 @@ jobs: id-token: write steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v5 with: fetch-depth: 1