Bump actions/checkout from 4 to 7#9
Conversation
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>
📝 WalkthroughWalkthroughThe pull request updates ChangesCI workflow updates
Estimated code review effort: 1 (Trivial) | ~3 minutes Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
There was a problem hiding this comment.
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
📒 Files selected for processing (2)
.github/workflows/ci.yml.github/workflows/codeql.yml
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - uses: actions/checkout@v7 |
There was a problem hiding this comment.
🔒 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 || trueRepository: 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
Bumps actions/checkout from 4 to 7.
Release notes
Sourced from actions/checkout's releases.
... (truncated)
Changelog
Sourced from actions/checkout's changelog.
... (truncated)
Commits
9c091bbupdate error wording (#2467)1044a6dgetting ready for checkout v7 release (#2464)f028218Bump the minor-npm-dependencies group across 1 directory with 3 updates (#2462)d914b26upgrade module to esm and update dependencies (#2463)537c7efBump@actions/coreand@actions/tool-cacheand Remove uuid (#2459)130a169Bump js-yaml from 4.1.0 to 4.2.0 (#2461)7d09575Bump flatted from 3.3.1 to 3.4.2 (#2460)0f9f3aaBump actions/publish-immutable-action (#2458)f9e715ablock checking out fork pr for pull_request_target and workflow_run (#2454)df4cb1cUpdate changelog for v6.0.3 (#2446)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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill 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