Skip to content

ci(deps): bump actions/checkout from 4 to 7 - #376

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

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 Aug 23, 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.1.0

What's Changed

https://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.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

... (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

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 Aug 23, 2026
@github-actions github-actions Bot added the type: ci CI configuration changes label Aug 23, 2026
@github-actions

github-actions Bot commented Aug 23, 2026

Copy link
Copy Markdown
Contributor

Coverage

Warning

Your comment is too long (maximum is 65536 characters), so the coverage report was not added. See the job log for how to reduce it.

@dependabot
dependabot Bot force-pushed the dependabot/github_actions/actions/checkout-7 branch from 47f01f0 to 522b2be Compare August 23, 2026 16:35
@all-hands-bot

Copy link
Copy Markdown
Contributor

👋 This PR needs a couple of things fixed before OpenHands can review it:

  • the PR description's HUMAN: section needs at least 20 characters describing what you tested, not just the template placeholder

Push an update once this is addressed and this check re-runs automatically.

This is an automated check - no AI was used to generate this comment.

@dependabot
dependabot Bot force-pushed the dependabot/github_actions/actions/checkout-7 branch 2 times, most recently from 730d104 to 4891651 Compare September 11, 2026 05:17
@dependabot
dependabot Bot force-pushed the dependabot/github_actions/actions/checkout-7 branch from 4891651 to 6188b38 Compare September 22, 2026 03:53

@all-hands-bot all-hands-bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This review was posted by an AI agent (OpenHands).

Review: ci(deps): bump actions/checkout from 4 to 7

Scope verified against the workspace — the diff is exactly 6 lines across 6 workflow files, all swapping the actions/checkout ref only (+6 / -6, no other edits). I confirmed this by diffing the fetched base against the head SHA:

  • .github/workflows/ci.yml:17 v5 → v7
  • .github/workflows/ghcr-build.yml:38 v4 → v7
  • .github/workflows/issue-readiness-check.yml:69 v5 → v7
  • .github/workflows/pr-description-check.yml:36 v5 → v7
  • .github/workflows/pypi-release.yml:26 v4 → v7
  • .github/workflows/tests.yml:19 v5 → v7

Breaking-change check (the reason this is not a routine patch bump)

checkout@v7 (via v6) ships the upstream security hardening that blocks checking out fork PR code in pull_request_target / workflow_run contexts unless allow-unsafe-pr-checkout is set. That directly intersects this repo's own review-facing guidance. I checked every affected workflow's trigger and ref:

  • pr-description-check.yml (pull_request_target) pins ref: ${{ github.event.pull_request.base.sha }} — a trusted base-branch ref, not the PR head. Correct and unaffected.
  • ghcr-build.yml is pull_request (not _target), so it gets a read-only token and the fork-checkout guard does not apply.
  • ci.yml, tests.yml (pull_request), issue-readiness-check.yml (issues) and pypi-release.yml (push tags) have no PR-head checkout at all.

No workflow needs allow-unsafe-pr-checkout; none checks out untrusted fork code. The change tightens rather than loosens the trust boundary.

Other compatibility checks

  • Node runtime transition: v5 and v7 both run on Node 24, so only the two v4 sites (ghcr-build.yml, pypi-release.yml) actually cross that runtime transition. All workflows use runs-on: ubuntu-24.04.
  • Credential persistence: no changed workflow consumes checkout's persisted git credentials — the one step that pushes (pr-artifacts.yml) passes an explicit PAT via token: and is untouched by this PR. No git-credentials / persist-credentials reliance was regressed.
  • Optional inputs are backward compatible: ref: and token: usage here is unchanged between v4/v5 and v7.
  • Workflow lint/test status at this head: ci, Run tests, and Docker all report success on 6188b3828c7d2bd94ff73946f878d54014134c90.

No material bugs, security regressions, or design flaws found. The workflow files still parse and the pinned-major convention (AGENTS.md and the GitHub Actions guidance both call for pinned action versions rather than @main) is preserved.

✅ APPROVED

@dependabot
dependabot Bot force-pushed the dependabot/github_actions/actions/checkout-7 branch from 6188b38 to dabb861 Compare September 22, 2026 12:10

@neubig neubig left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Approved: checks are green. This review was created by an AI agent (OpenHands) on behalf of the user.

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>
@neubig
neubig force-pushed the dependabot/github_actions/actions/checkout-7 branch from dabb861 to e9d8c07 Compare September 22, 2026 12:15

@all-hands-bot all-hands-bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This review was posted by an AI agent (OpenHands).

Review: ci(deps): bump actions/checkout from 4 to 7 (re-review at e9d8c07)

This is a re-review after the head moved from 6188b38 to e9d8c07 (rebase onto the current main). I re-diffed the new base f146352 against the new head: the change set is identical — exactly 6 lines across 6 workflow files, and every line swaps the actions/checkout ref only (+6 / -6, no other edit).

  • .github/workflows/ci.yml:17 v5 → v7
  • .github/workflows/ghcr-build.yml:38 v4 → v7
  • .github/workflows/issue-readiness-check.yml:69 v5 → v7
  • .github/workflows/pr-description-check.yml:36 v5 → v7
  • .github/workflows/pypi-release.yml:26 v4 → v7
  • .github/workflows/tests.yml:19 v5 → v7

Breaking-change check (the reason this is not a routine patch bump)

checkout@v7 (via v6) ships the upstream hardening that blocks checking out fork PR code under pull_request_target / workflow_run unless allow-unsafe-pr-checkout is set. I re-verified every affected workflow's trigger and ref at this head:

  • pr-description-check.yml (pull_request_target) pins ref: ${{ github.event.pull_request.base.sha }} — a trusted base-branch ref, not the fork head. Correct and unaffected.
  • ghcr-build.yml is plain pull_request (not _target), so the guard does not apply.
  • ci.yml / tests.yml (pull_request), issue-readiness-check.yml (issues) and pypi-release.yml (push tags) never check out a PR head.

No workflow requires allow-unsafe-pr-checkout; none consumes untrusted fork code. The bump tightens, not loosens, the trust boundary — consistent with the repo's guidance to keep PR-code execution out of pull_request_target.

Other compatibility checks

  • Runtime transition: v5 and v7 both run on Node 24, so only the two v4 sites (ghcr-build.yml, pypi-release.yml) cross that transition. All six workflows run on ubuntu-24.04.
  • Credential persistence: no changed workflow relies on checkout's persisted git credentials. The only push step (pr-artifacts.yml) passes an explicit PAT via token: and is untouched here.
  • Inputs: ref: / token: usage is unchanged between v4/v5 and v7.

CI status at this head

Unlike the previous head, the checks for e9d8c07 are still queued (ci, Run tests, Docker) rather than completed. That is an unresolved-CI state, not a change-induced failure — the workflows' trigger/ref semantics are unchanged and none of them is newly blocked. This is a dependabot major bump of a single well-known action; the prior head of the same change set passed ci, Run tests, and Docker. There is no code-level defect to act on.

The repo has no workflow-lint test to run locally; unit tests target the automation service, not .github/workflows, so no meaningful local test applies to this diff.

No material bugs, security regressions, or design flaws found. Pinned-major versioning (@v7, not @main) is preserved.

✅ APPROVED

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 type: ci CI configuration changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants