Skip to content

chore(deps): bump actions/checkout from 4 to 7 - #136

Merged
athal7 merged 1 commit into
mainfrom
dependabot/github_actions/actions/checkout-7
Jul 22, 2026
Merged

chore(deps): bump actions/checkout from 4 to 7#136
athal7 merged 1 commit into
mainfrom
dependabot/github_actions/actions/checkout-7

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 20, 2026

Copy link
Copy Markdown
Contributor

Bumps actions/checkout from 4 to 7.

Release notes

Sourced from actions/checkout's releases.

v7.0.0

What's Changed

New Contributors

Full Changelog: actions/checkout@v6.0.3...v7.0.0

v6.1.0

What's Changed

https://github.blog/changelog/2026-06-18-safer-pull_request_target-defaults-for-github-actions-checkout/ for more details about this breaking change

Full Changelog: actions/checkout@v6.0.3...v6.1.0

v6.0.3

What's Changed

New Contributors

Full Changelog: actions/checkout@v6...v6.0.3

v6.0.2

What's Changed

Full Changelog: actions/checkout@v6.0.1...v6.0.2

v6.0.1

What's Changed

... (truncated)

Changelog

Sourced from actions/checkout's changelog.

Changelog

v7.0.1

v7.0.0

v6.0.3

v6.0.2

v6.0.1

v6.0.0

v5.0.1

v5.0.0

v4.3.1

v4.3.0

v4.2.2

v4.2.1

... (truncated)

Commits

Summary by CodeRabbit

  • Chores
    • Updated the automated build and release workflow tooling to a newer version.
    • No changes to application features or user-facing behavior.

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file github_actions Pull requests that update GitHub Actions code labels Jul 20, 2026
@github-actions
github-actions Bot requested a review from athal7 July 20, 2026 19:05
@github-actions

Copy link
Copy Markdown

@jules this dependency bump couldn't auto-merge (major version change, or no CI to verify against) — can you check the changelog/release notes for breaking changes and update any affected code if needed?

@coderabbitai

coderabbitai Bot commented Jul 20, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: f89167cc-4ca0-445f-8341-8bbd20699536

📥 Commits

Reviewing files that changed from the base of the PR and between 9d1372f and f23cbe0.

📒 Files selected for processing (1)
  • .github/workflows/ci.yml

📝 Walkthrough

Walkthrough

The CI workflow updates actions/checkout from v4 to v7 in both the test and release jobs.

Changes

CI checkout updates

Layer / File(s) Summary
Update checkout actions
.github/workflows/ci.yml
The test and release jobs now use actions/checkout@v7 instead of @v4.

Estimated code review effort: 1 (Trivial) | ~2 minutes

Possibly related PRs

Suggested reviewers: athal7

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately describes the workflow dependency upgrade from actions/checkout v4 to v7.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch dependabot/github_actions/actions/checkout-7

Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In @.github/workflows/ci.yml:
- Around line 18-20: Update the actions/checkout step in the test job to set
persist-credentials to false alongside fetch-depth, matching the release job
configuration.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: d22e6320-f982-43ef-89a5-f936f718d4c8

📥 Commits

Reviewing files that changed from the base of the PR and between 5c8b285 and 9d1372f.

📒 Files selected for processing (1)
  • .github/workflows/ci.yml

Comment thread .github/workflows/ci.yml
Comment on lines +18 to 20
- uses: actions/checkout@v7
with:
fetch-depth: 0

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔒 Security & Privacy | 🟠 Major | ⚡ Quick win

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
set -euo pipefail

# Inspect the workflow with line numbers.
sed -n '1,120p' .github/workflows/ci.yml | cat -n

# Show all actions/checkout usages in the repo.
rg -n "actions/checkout@" .github/workflows -S

Repository: athal7/opencode-devcontainers

Length of output: 3624


🏁 Script executed:

#!/bin/bash
set -euo pipefail

# Inspect the workflow with line numbers.
sed -n '1,140p' .github/workflows/ci.yml | cat -n

# Show all actions/checkout usages in the repo.
rg -n "actions/checkout@" .github/workflows -S

Repository: athal7/opencode-devcontainers

Length of output: 3624


Disable checkout credentials in the test job.
npm ci and npm test run repository/dependency-controlled code, so leaving GITHUB_TOKEN in .git/config is unnecessary exposure. Add persist-credentials: false here, as in the release job.

Proposed fix
      - uses: actions/checkout@v7
        with:
          fetch-depth: 0
+         persist-credentials: false
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
- uses: actions/checkout@v7
with:
fetch-depth: 0
- uses: actions/checkout@v7
with:
fetch-depth: 0
persist-credentials: false
🧰 Tools
🪛 zizmor (1.26.1)

[warning] 18-20: credential persistence through GitHub Actions artifacts (artipacked): does not set persist-credentials: false

(artipacked)

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In @.github/workflows/ci.yml around lines 18 - 20, Update the actions/checkout
step in the test job to set persist-credentials to false alongside fetch-depth,
matching the release job configuration.

Source: Linters/SAST tools

@athal7

athal7 commented Jul 22, 2026

Copy link
Copy Markdown
Owner

@dependabot recreate

@github-actions github-actions Bot added bug Something isn't working question Further information is requested labels Jul 22, 2026
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 7.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](actions/checkout@v4...v7)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/github_actions/actions/checkout-7 branch from 9d1372f to f23cbe0 Compare July 22, 2026 10:19
@athal7
athal7 merged commit 8da4643 into main Jul 22, 2026
11 checks passed
@dependabot
dependabot Bot deleted the dependabot/github_actions/actions/checkout-7 branch July 22, 2026 10:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working dependencies Pull requests that update a dependency file github_actions Pull requests that update GitHub Actions code question Further information is requested

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant