Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 24, 2025

Bumps actions/checkout from 5 to 6.

Release notes

Sourced from actions/checkout's releases.

v6.0.0

What's Changed

Full Changelog: actions/checkout@v5.0.0...v6.0.0

v6-beta

What's Changed

Updated persist-credentials to store the credentials under $RUNNER_TEMP instead of directly in the local git config.

This requires a minimum Actions Runner version of v2.329.0 to access the persisted credentials for Docker container action scenarios.

v5.0.1

What's Changed

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

Changelog

Sourced from actions/checkout's changelog.

Changelog

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

v4.1.6

v4.1.5

... (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 merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @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)

Bumps [actions/checkout](https://github.com/actions/checkout) from 5 to 6.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](actions/checkout@v5...v6)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Nov 24, 2025

Labels

The following labels could not be found: github-actions. Please create it before Dependabot can add it to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Nov 24, 2025
@MariusStorhaug
Copy link
Member

@copilot Please ensure that we are using commit sha for versioning, with the version number as a comment on the line for all actions and reusable workflows. For checkout, i also want to ensure we are not persisting credentials.

Copy link
Contributor

Copilot AI commented Nov 26, 2025

@MariusStorhaug I've opened a new pull request, #6, to work on those changes. Once the pull request is ready, I'll request review from you.

Dependabot bump of actions/checkout v5→v6, updated to use commit SHA
pinning per repo conventions.

## Changes

- **SHA pinning**: All actions now reference commit SHAs with version
comments
- **Security hardening**: Added `persist-credentials: false` to all
`actions/checkout` usages
- **Pinned super-linter**: Changed from `@latest` to specific v8 SHA

```yaml
# Before
uses: actions/checkout@v6

# After
uses: actions/checkout@1af3b93 # v6
with:
  persist-credentials: false
```

| Action | SHA |
|--------|-----|
| actions/checkout | `1af3b93b...` (v6) |
| PSModule/Auto-Release | `eabd5330...` (v1) |
| super-linter/super-linter | `2bdd90ed...` (v8) |
| PSModule/GitHub-Script | `4f9c58a2...` (v1) |

<!-- START COPILOT CODING AGENT TIPS -->
---

💡 You can make Copilot smarter by setting up custom instructions,
customizing its development environment and configuring Model Context
Protocol (MCP) servers. Learn more [Copilot coding agent
tips](https://gh.io/copilot-coding-agent-tips) in the docs.

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: MariusStorhaug <17722253+MariusStorhaug@users.noreply.github.com>
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR upgrades actions/checkout from v5 to v6 and implements security best practices by pinning actions to commit SHAs and adding persist-credentials: false to prevent credential persistence. While titled as an actions/checkout bump, the changes also include pinning other actions (super-linter, PSModule/GitHub-Script, PSModule/Auto-Release) to specific commit hashes for improved supply chain security.

Key Changes:

  • Upgraded actions/checkout from v5 to v6.0.0 (commit 1af3b93)
  • Added persist-credentials: false to all checkout steps for enhanced security
  • Pinned all GitHub Actions to commit SHAs with version comments for traceability

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.

File Description
action.yml Pinned PSModule/GitHub-Script@v1 to commit SHA for security
.github/workflows/Linter.yml Updated checkout to v6, added persist-credentials: false, and upgraded super-linter from latest to v8 with commit SHA pinning
.github/workflows/Auto-Release.yml Updated checkout to v6, added persist-credentials: false, and pinned PSModule/Auto-Release@v1 to commit SHA
.github/workflows/Action-Test.yml Updated checkout to v6 and added persist-credentials: false

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@MariusStorhaug MariusStorhaug merged commit 5877769 into main Nov 26, 2025
23 of 26 checks passed
@MariusStorhaug MariusStorhaug deleted the dependabot/github_actions/actions/checkout-6 branch November 26, 2025 12:34
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants