chore(deps): update actions/checkout action to v7 - #337
chore(deps): update actions/checkout action to v7#337red-hat-konflux[bot] wants to merge 1 commit into
Conversation
Signed-off-by: red-hat-konflux <126015336+red-hat-konflux[bot]@users.noreply.github.com>
WalkthroughThe GitHub Actions workflow file updates ChangesCI Checkout Version Bump
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
There was a problem hiding this comment.
🧹 Nitpick comments (1)
.github/workflows/test.yml (1)
15-15: Explicitly disable credential persistence in checkout actions for improved security.The checkout action uses a floating version tag (
@v7) which is acceptable as v7 is the current stable version. However, the workflow does not require Git credentials since there are no authenticated git operations (push, commit, etc.), so you can safely disable credential persistence:Add
persist-credentials: falseto all three checkout steps (lines 15, 41, 82):Update checkout steps
- name: Checkout uses: actions/checkout@v7 + with: + persist-credentials: falseThis prevents Git credentials from being stored in the runner's Git config, reducing the risk of accidental credential exposure in logs or cached artifacts.
🤖 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/test.yml at line 15, Add the `persist-credentials: false` parameter to all three checkout action configurations (the actions/checkout@v7 steps) in the workflow file to disable Git credential persistence. This parameter should be added as a property under the `with` section of each checkout step to prevent Git credentials from being stored in the runner's Git config, which improves security by reducing the risk of accidental credential exposure.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.
Nitpick comments:
In @.github/workflows/test.yml:
- Line 15: Add the `persist-credentials: false` parameter to all three checkout
action configurations (the actions/checkout@v7 steps) in the workflow file to
disable Git credential persistence. This parameter should be added as a property
under the `with` section of each checkout step to prevent Git credentials from
being stored in the runner's Git config, which improves security by reducing the
risk of accidental credential exposure.
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Enterprise
Run ID: fe1329c8-610d-4238-b0cd-e5d73e3a9742
📒 Files selected for processing (1)
.github/workflows/test.yml
This PR contains the following updates:
v4→v7Release Notes
actions/checkout (actions/checkout)
v7.0.1Compare Source
v7.0.0Compare Source
v7Compare Source
v6.1.0Compare Source
What's Changed
allow-unsafe-pr-checkoutto v6 by @aiqiaoy in #2500https://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.3Compare Source
v6.0.2Compare Source
v6.0.1Compare Source
v6.0.0Compare Source
v6Compare Source
v5.1.0Compare Source
What's Changed
allow-unsafe-pr-checkoutto v5 by @aiqiaoy in #2501https://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@v5.0.1...v5.1.0
v5.0.1Compare Source
v5.0.0Compare Source
v5Compare Source
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
To execute skipped test pipelines write comment
/ok-to-test.Documentation
Find out how to configure dependency updates in MintMaker documentation or see all available configuration options in Renovate documentation.