Skip to content

Bump actions/checkout from 4 to 7#9

Merged
CoreyLeath-code merged 2 commits into
mainfrom
dependabot/github_actions/actions/checkout-7
Jul 17, 2026
Merged

Bump actions/checkout from 4 to 7#9
CoreyLeath-code merged 2 commits into
mainfrom
dependabot/github_actions/actions/checkout-7

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 17, 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.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

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

v6.0.0

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

... (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 repository automation workflows to use the latest checkout action version.
    • CI, security analysis, container packaging, and benchmark workflows retain their existing behavior.

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 added dependencies Pull requests that update a dependency file github_actions Pull requests that update GitHub Actions code labels Jul 17, 2026
@coderabbitai

coderabbitai Bot commented Jul 17, 2026

Copy link
Copy Markdown

Review Change Stack

📝 Walkthrough

Walkthrough

The pull request updates actions/checkout from v4 to v7 in four CI jobs and the CodeQL workflow. No other workflow steps or configurations change.

Changes

CI workflow updates

Layer / File(s) Summary
Upgrade workflow checkout actions
.github/workflows/ci.yml, .github/workflows/codeql.yml
The quality, package-container, security, benchmark, and CodeQL jobs now use actions/checkout@v7.

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

Suggested reviewers: coreyleath-code

🚥 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 clearly and concisely summarizes the main change: upgrading actions/checkout from version 4 to 7.
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:
- Line 20: Disable persisted checkout credentials for every affected
actions/checkout step: add persist-credentials: false in
.github/workflows/ci.yml at lines 20, 39, 49-51, and 77, and in
.github/workflows/codeql.yml at line 16. No other workflow behavior needs to
change.
🪄 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: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: c0f24f35-1256-4ed6-ad94-0bdb3690bc34

📥 Commits

Reviewing files that changed from the base of the PR and between 896bfe0 and 63af933.

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

Comment thread .github/workflows/ci.yml
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7

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 | 🟡 Minor | ⚡ Quick win

🧩 Analysis chain

🏁 Script executed:

set -euo pipefail

printf '\n## ci.yml\n'
cat -n .github/workflows/ci.yml | sed -n '1,220p'

printf '\n## codeql.yml\n'
cat -n .github/workflows/codeql.yml | sed -n '1,120p'

Repository: CoreyLeath-code/Facial-Emotion-Recognition-System

Length of output: 3909


🏁 Script executed:

set -euo pipefail

printf '\n## git usage in workflows\n'
rg -n '\bgit\b|gh\b' .github/workflows/ci.yml .github/workflows/codeql.yml || true

printf '\n## checkout inputs\n'
rg -n 'persist-credentials|fetch-depth' .github/workflows/ci.yml .github/workflows/codeql.yml || true

Repository: CoreyLeath-code/Facial-Emotion-Recognition-System

Length of output: 287


Disable persisted checkout credentials on these jobs.

actions/checkout leaves the token in the local git config by default, and none of these steps needs authenticated git operations. Set persist-credentials: false on each checkout to avoid exposing GITHUB_TOKEN to later steps.

  • .github/workflows/ci.yml#L20-L20
  • .github/workflows/ci.yml#L39-L39
  • .github/workflows/ci.yml#L49-L51
  • .github/workflows/ci.yml#L77-L77
  • .github/workflows/codeql.yml#L16-L16
🧰 Tools
🪛 zizmor (1.26.1)

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

(artipacked)

📍 Affects 2 files
  • .github/workflows/ci.yml#L20-L20 (this comment)
  • .github/workflows/ci.yml#L39-L39
  • .github/workflows/ci.yml#L49-L51
  • .github/workflows/ci.yml#L77-L77
  • .github/workflows/codeql.yml#L16-L16
🤖 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 at line 20, Disable persisted checkout credentials
for every affected actions/checkout step: add persist-credentials: false in
.github/workflows/ci.yml at lines 20, 39, 49-51, and 77, and in
.github/workflows/codeql.yml at line 16. No other workflow behavior needs to
change.

Source: Linters/SAST tools

@CoreyLeath-code
CoreyLeath-code merged commit 9ae09a7 into main Jul 17, 2026
5 checks passed
@dependabot
dependabot Bot deleted the dependabot/github_actions/actions/checkout-7 branch July 17, 2026 19:21
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.

1 participant