Skip to content

chore(deps): update actions/checkout action to v7 - #22

Merged
GraemeF merged 1 commit into
mainfrom
renovate/actions-checkout-7.x
Nov 10, 2026
Merged

GraemeF merged 1 commit into
mainfrom
renovate/actions-checkout-7.x

Conversation

@renovate

@renovate renovate Bot commented Nov 8, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Type Update Change
actions/checkout action major v4 → v7

Release Notes

actions/checkout

v7.0.1

Compare Source

v7.0.0

Compare Source

  • Block checking out fork PR for pull_request_target and workflow_run by @​aiqiaoy in #​2454
  • Various dependency updates

v6.1.0

Compare Source

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

Compare Source

v6.0.2

Compare Source

v6.0.1

Compare Source

v6.0.0

Compare Source

v5.1.0

Compare Source

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@v5.0.1...v5.1.0

v5.0.1

Compare Source

v5.0.0

Compare Source


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@GraemeF

GraemeF commented Nov 10, 2026

Copy link
Copy Markdown
Contributor

Review: actions/checkout v4 to v7.0.1

Pin. The new sha 3d3c42e5aac5ba805825da76410c181273ba90b1 is the v7.0.1 tag in actions/checkout. v7.0.1 was published on 2026-07-20, so it is well past the three-day wait.

Breaking changes and why none applies here.

  • v5 moves the action to the node24 runtime. Both workflows run on GitHub-hosted ubuntu-latest, which meets the runner minimum.
  • v6 stores persisted credentials in a separate file under the runner temp directory. Both steps set persist-credentials: false, so nothing is persisted.
  • v7, and the v5.1/v6.1 backports, refuse to check out fork pull request code from pull_request_target or workflow_run. The release workflow is triggered by workflow_run and passes an explicit ref, so the guard runs there. The guard in src/unsafe-pr-checkout-helper.ts returns early unless workflow_run.event starts with pull_request. The release job's if only lets a push run or a manual dispatch through, so the guard never refuses it. CI uses the default checkout on push/pull_request, which the guard skips.
  • v7 migrates the action to ESM and updates dependencies. No input or output the repo uses has changed.

No permissions or secrets used by the action change. The CI check is green on the head commit and the branch is level with main. The release workflow only runs from main, so its first v7 run happens on the merge commit. I will watch that run.

@GraemeF
GraemeF merged commit 3fbd701 into main Nov 10, 2026
2 checks passed
@GraemeF
GraemeF deleted the renovate/actions-checkout-7.x branch November 10, 2026 12:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant