Skip to content

chore(deps): bump actions/checkout from 6.0.2 to 6.0.3#15

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/github_actions/actions/checkout-6.0.3
Closed

chore(deps): bump actions/checkout from 6.0.2 to 6.0.3#15
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/github_actions/actions/checkout-6.0.3

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 6, 2026

Copy link
Copy Markdown
Contributor

Bumps actions/checkout from 6.0.2 to 6.0.3.

Release notes

Sourced from actions/checkout's releases.

v6.0.3

What's Changed

New Contributors

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

Changelog

Sourced from actions/checkout's changelog.

Changelog

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

v4.2.0

v4.1.7

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Summary by CodeRabbit

  • Chores
    • Updated CI workflow checkout action to the latest version.

Bumps [actions/checkout](https://github.com/actions/checkout) from 6.0.2 to 6.0.3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](actions/checkout@de0fac2...df4cb1c)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: 6.0.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file github_actions Pull requests that update GitHub Actions code labels Jun 6, 2026
@coderabbitai

coderabbitai Bot commented Jun 6, 2026

Copy link
Copy Markdown

Review Change Stack

📝 Walkthrough

Walkthrough

This PR updates the pinned commit hash for the actions/checkout GitHub Action across four CI workflow jobs (terraform-validate, terraform-security, helm-lint, and yaml-lint), changing from one commit to a newer commit while keeping the version tag comment consistent at # v4.

Changes

CI Dependency Updates

Layer / File(s) Summary
Update actions/checkout pinned commit
.github/workflows/ci.yaml
Four jobs update their actions/checkout pinned commit from de0fac2e... to df4cb1c... (marked # v4).

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Poem

🐰 A rabbit hops through workflows bright,
Updating checkouts left and right,
Four jobs now fetch with fresher hands,
While v4 still firmly stands! ✨

🚥 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 main change: updating the actions/checkout dependency from version 6.0.2 to 6.0.3 across the CI workflow, which matches the file modifications.
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.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch dependabot/github_actions/actions/checkout-6.0.3

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

@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

🧹 Nitpick comments (1)
.github/workflows/ci.yaml (1)

24-24: ⚡ Quick win

Consider adding persist-credentials: false to harden security posture.

The checkout action currently leaves the GITHUB_TOKEN accessible in .git/config for subsequent workflow steps. On self-hosted runners, this increases the risk of credential leakage through artifacts, logs, or incomplete workspace cleanup.

Setting persist-credentials: false is a security best practice unless subsequent steps explicitly require Git authentication.

🔒 Proposed fix to disable credential persistence

Apply this pattern to all four checkout steps (lines 24, 42, 52, 64):

-      - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v4
+      - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v4
+        with:
+          persist-credentials: false

Also applies to: 42-42, 52-52, 64-64

🤖 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.yaml at line 24, Update each GitHub Actions checkout
step that uses "actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10" to
include the option persist-credentials: false (add the key under the same step
where uses: actions/checkout@... is declared) for all four occurrences so the
GITHUB_TOKEN is not written into .git/config on the runner; ensure you apply
this to the checkout steps currently at the four occurrences referenced in the
review so later steps that do need Git auth explicitly opt-in or use an explicit
token.

Source: Linters/SAST tools

🤖 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.yaml:
- Line 24: The inline comment on the pinned checkout action is incorrect: update
the comment on the checkout steps that use
"actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10" (currently labeled
"# v4") to the accurate tag "# v6.0.3" (or remove the comment entirely) for all
occurrences (the checkout steps with that pinned commit hash).

---

Nitpick comments:
In @.github/workflows/ci.yaml:
- Line 24: Update each GitHub Actions checkout step that uses
"actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10" to include the
option persist-credentials: false (add the key under the same step where uses:
actions/checkout@... is declared) for all four occurrences so the GITHUB_TOKEN
is not written into .git/config on the runner; ensure you apply this to the
checkout steps currently at the four occurrences referenced in the review so
later steps that do need Git auth explicitly opt-in or use an explicit token.
🪄 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: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 59c98935-e3be-4f99-b32f-9f5efb103783

📥 Commits

Reviewing files that changed from the base of the PR and between de8aece and 35faf40.

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

Comment thread .github/workflows/ci.yaml
timeout-minutes: 10
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v4
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v4

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟠 Major

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
# Description: Verify the actual version tag for the pinned commit hash

# Check what tags point to this commit in the actions/checkout repository
gh api repos/actions/checkout/git/refs/tags \
  --jq '.[] | select(.object.sha == "df4cb1c069e1874edd31b4311f1884172cec0e10" or .object.type == "tag") | .ref' \
  | head -20

# Alternative: Get commit details and check associated tags
gh api repos/actions/checkout/commits/df4cb1c069e1874edd31b4311f1884172cec0e10 \
  --jq '{sha: .sha, message: .commit.message, author_date: .commit.author.date}'

# Check tags containing this commit
gh api repos/actions/checkout/tags --jq '.[] | select(.commit.sha == "df4cb1c069e1874edd31b4311f1884172cec0e10") | {name: .name, commit: .commit.sha}'

Repository: somethingwithproof/gitops-infrastructure-demo

Length of output: 456


Fix incorrect actions/checkout version labels in CI

The pinned actions/checkout commit df4cb1c069e1874edd31b4311f1884172cec0e10 corresponds to tag v6.0.3 (and v6), but the workflow inline comment remains # v4 on the checkout steps at lines 24/42/52/64. Update those comments to # v6.0.3 (or remove them) to keep the version labeling accurate.

🧰 Tools
🪛 zizmor (1.25.2)

[warning] 24-24: 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.yaml at line 24, The inline comment on the pinned
checkout action is incorrect: update the comment on the checkout steps that use
"actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10" (currently labeled
"# v4") to the accurate tag "# v6.0.3" (or remove the comment entirely) for all
occurrences (the checkout steps with that pinned commit hash).

@dependabot @github

dependabot Bot commented on behalf of github Jun 20, 2026

Copy link
Copy Markdown
Contributor Author

Superseded by #16.

@dependabot dependabot Bot closed this Jun 20, 2026
@dependabot dependabot Bot deleted the dependabot/github_actions/actions/checkout-6.0.3 branch June 20, 2026 23:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file github_actions Pull requests that update GitHub Actions code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants