Skip to content

chore(deps): bump actions/checkout from 6 to 7#15279

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

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

Conversation

@dependabot

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

Copy link
Copy Markdown
Contributor

Bumps actions/checkout from 6 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

Changelog

Sourced from actions/checkout's changelog.

Changelog

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

v4.2.2

v4.2.1

... (truncated)

Commits

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file github_actions Pull requests that update GitHub Actions code labels Jun 22, 2026
@Alizter

Alizter commented Jun 22, 2026

Copy link
Copy Markdown
Collaborator

@copilot Explain the consequences of this PR

Bumps [actions/checkout](https://github.com/actions/checkout) from 6 to 7.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](actions/checkout@v6...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 force-pushed the dependabot/github_actions/actions/checkout-7 branch from 3cf7db3 to aa58cc2 Compare June 22, 2026 13:37

Copilot AI commented Jun 22, 2026

Copy link
Copy Markdown
Contributor

@copilot Explain the consequences of this PR

This PR updates actions/checkout from v6 to v7 across all 13 CI workflow files (.github/workflows/*.yml).

Key change in v7 (the only breaking change):

  • Security fix: v7 blocks checking out fork PRs for pull_request_target and workflow_run triggers. This closes a known vulnerability where a malicious fork PR could gain access to repository secrets in pull_request_target workflows.

Practical impact on this repo:

  • For normal CI usage (checkout on push/PR), behaviour is identical — no functional difference.
  • If any workflow uses pull_request_target or workflow_run and attempts to check out untrusted fork code, it would now be blocked. A quick scan of the workflow files shows none of them combine pull_request_target/workflow_run with a fork-branch checkout, so this breaking change does not affect this repo in practice.
  • The rest of the v7 changes are internal dependency bumps and a module system upgrade (ESM), which are invisible to callers.

In summary: this is a safe, routine update with no functional impact on dune's CI pipelines, and it brings a security hardening benefit as a bonus.

Copilot AI requested a review from Alizter June 22, 2026 13:44
@Alizter

Alizter commented Jun 22, 2026

Copy link
Copy Markdown
Collaborator

@copilot fix this PR so that its updating the .in workflows too.

Copilot AI commented Jun 22, 2026

Copy link
Copy Markdown
Contributor

@copilot fix this PR so that its updating the .in workflows too.

I've updated both .in template files locally, but this is a dependabot branch and GitHub Actions doesn't have write access to push the changes.

The fix is straightforward — in both files, replace every occurrence of actions/checkout@v6 with actions/checkout@v7:

  • .github/workflows/bench.yml.in (1 occurrence, line 30)
  • .github/workflows/workflow.yml.in (18 occurrences)

You can apply this with:

sed -i 's|actions/checkout@v6|actions/checkout@v7|g' .github/workflows/bench.yml.in .github/workflows/workflow.yml.in

and push to this branch directly, or close this PR and open a new one that includes the .in files.

@Alizter

Alizter commented Jun 22, 2026

Copy link
Copy Markdown
Collaborator

@copilot What do you mean you don't have access? How did you push in #15280??!

Copilot AI commented Jun 22, 2026

Copy link
Copy Markdown
Contributor

@copilot What do you mean you don't have access? How did you push in #15280??!

PR #15280 was on a branch owned by the repo (not dependabot), so the push succeeded there. This branch (dependabot/github_actions/actions/checkout-7) is owned by dependabot, and GitHub enforces that only dependabot itself can push to its own branches — github-actions[bot] gets a 403 regardless of repo permissions.

The workaround is to either:

  1. Push to this branch directly yourself with sed -i 's|actions/checkout@v6|actions/checkout@v7|g' .github/workflows/bench.yml.in .github/workflows/workflow.yml.in
  2. Comment @dependabot recreate to have dependabot regenerate the PR (it won't fix the .in files since dependabot doesn't know about them)
  3. Close this PR and open a manual one that covers both the .yml and .in files

@Alizter

Alizter commented Jun 22, 2026

Copy link
Copy Markdown
Collaborator

@copilot @dependabot Thanks, this is stupid. Please stop wasting our time.

@Alizter Alizter closed this Jun 22, 2026
@dependabot @github

dependabot Bot commented on behalf of github Jun 22, 2026

Copy link
Copy Markdown
Contributor Author

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot
dependabot Bot deleted the dependabot/github_actions/actions/checkout-7 branch June 22, 2026 14:07
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.

2 participants