Upgrade Notes

Practical review notes for GitHub Actions maintainers

Find your checkout upgrade check

Search four curated notes from the guide below. This is a documentation index, not a live release feed or a compatibility scanner. No repository access or signup needed.

Browse all four notes · Go straight to the review worksheet

Queries appear in the URL; use technical keywords only, never secrets or private repository details.

Review the checkout upgrade before you merge it

Practical, source-checked notes for GitHub Actions maintainers moving actions/checkout v4 workflows toward v7, especially teams with self-hosted runners.

Start with three review gates, see them applied to a real public workflow, then copy the review worksheet below into your own pull request. No signup required.

This is a documentation-based decision aid, not a tested migration patch. It helps you decide what to investigate and test—not certify a workflow as compatible.

Three gates for your upgrade review

1. Verify the runner—not just your application's Node version

Documented fact: checkout v5 introduced the Node.js 24 runtime and requires Actions Runner v2.327.1 or later. Source 1: “Checkout v5”

Practical recommendation: record the actual runner version for every affected pool before rollout. A workflow's application Node setting is not evidence of the runner version. Treat the documented minimum as a prerequisite, not proof of full v7 compatibility. Unknown is not a pass.

2. Check credential-dependent Git operations

Documented fact: v6 moved persisted credentials from directly inside .git/config to a separate file under $RUNNER_TEMP. The README says ordinary Git fetch/push continue automatically. Authenticated Git commands from a Docker container action require Runner v2.329.0 or later. Source 1: “Checkout v6”

Practical recommendation: identify that specific Docker-action path before applying the higher minimum. Review custom tooling that assumes credentials are stored in, read from, or otherwise managed through .git/config. Validate relevant authenticated operations in an isolated, least-privilege test; never print or copy credentials as a workaround. Other container setups are not established compatible by this note.

3. Review fork-code trust boundaries

Documented fact: v7 refuses fork pull-request code checkout by default under pull_request_target or workflow_run. The README warns about running fork code in these privileged contexts. Source 1: “Checkout v7”

Practical recommendation: check both the trigger and what code checkout targets. Do not bypass the safeguard just to restore a green build. Keep untrusted code away from privileged credentials and runner access. An unmet minimum or unresolved trust boundary means investigate first; clearing these gates means ready for a controlled test, not certified compatible.

Worked example: actions/checkout's own build job

Scope: the build job in .github/workflows/test.yml at the historical v4.2.2 tag of the public actions/checkout repository. This is a reproducible reading exercise—not a report of a defect in its current workflow, an endorsement, or a claim that its maintainers need this migration. Source 2

What the source actually shows

  • The workflow declares pull_request and push; push is filtered to main and releases/*.
  • The build job selects ubuntu-latest.
  • It uses actions/setup-node@v4 with application Node 20.x, followed by actions/checkout@v4.1.6.
  • It then lists dependency installation, build, format-check, lint, tests and a “Verify no unstaged changes” step.
  • Within this job's visible steps, there is no explicit Docker container action. The commands and referenced actions' internals were not audited.

These observations apply only to that tagged workflow and job. Other jobs in the file are outside this worked example.

How to turn those facts into a review

GateFinding for this exampleMaintainer's next action
Runner/runtimeubuntu-latest is a label; this source does not show an actual runner version. Application Node 20.x does not settle checkout's runtime requirement.Record the runner version from the intended test environment and compare it with the documented minimum. Do not change application Node solely because checkout changed runtime.
Docker credentialsNo explicit Docker container action appears in this build job; downstream command behavior is unverified.Do not assert a Docker credential problem. Check actual authenticated-Git consumers and apply the higher runner gate only if the documented case exists.
Privileged fork checkoutThe declared triggers are not pull_request_target or workflow_run.The trigger condition for this specific v7 safeguard is absent here. That is not a general security verdict. Reassess if triggers or checkout targets change.

Proposed test, not an observed result: in an isolated copy with trusted input and minimal permissions, review the target checkout version, verify the runner, then test the same build/check sequence already listed by the job. Avoid unrelated application-runtime changes in the same experiment. Record the run evidence and failures before wider rollout. No workflow was changed or run to produce this guide.

Unverified: actual runner version, current repository configuration, permissions outside the shown job, action/script internals, test outcomes and complete v7 compatibility. We cannot infer these from the selected YAML alone.

Copyable checkout-upgrade review worksheet

Copy this section into your own review and fill the blanks with evidence. Do not include credentials or secret values. This is your first deliverable: a review record, not a blind version bump.

  • Scope: repository ___; workflow path ___; exact source commit/tag and link ___; included jobs ___; excluded jobs ___.
  • Change: current checkout version ___; proposed target ___; target release documentation ___.
  • Runner—repeat for every affected pool: included jobs using this pool ___; label/pool ___; actual runner version ___; evidence ___; documented minimum met: yes / no / unknown. Map every included job to its affected pool entry or entries; an unverified affected pool remains unknown.
  • Credentials: Docker container actions using authenticated Git: yes / no / unknown; evidence ___. If yes, check Runner v2.329.0+. Does custom tooling assume credentials are stored in, read from, or otherwise managed through .git/config: yes / no / unknown; evidence ___. Check relevant operations without exposing secrets.
  • Fork boundary: pull_request_target or workflow_run plus fork-code checkout: yes / no / unknown; evidence ___; trust-boundary decision ___.
  • Unknowns: unresolved check ___; owner ___; concrete next action ___.
  • Controlled test plan: isolated environment ___; trusted ref ___; minimum permissions ___; expected checkout/build/test results ___; relevant credential-path checks without exposing secrets ___; stop/rollback conditions ___.
  • Actual result—leave unknown until tested: run/evidence link ___; passed ___; failed ___; untested cases ___.
  • Decision: investigate first / ready for controlled test / tested within the stated scope. Rationale ___.

If you cannot establish an important condition, mark it unknown and assign a next check. Do not turn a source observation into an unearned “safe to merge.”

FAQ: Why might a Dependabot update arrive during cooldown?

Check the update type before inferring the cause. GitHub's current Dependabot cooldown documentation states: “The cooldown option is only available for version updates, not security updates.”

If a PR is a Dependabot security update, that documented cooldown rule does not apply to it. This does not establish that a particular PR is a security update, that checkout v7.0.1 is security-classified, or that your configuration was bypassed.

For a concrete investigation, check the PR's update type and any associated security-alert evidence alongside the relevant dependabot.yml ecosystem entry. Redact secrets and unrelated private details. A version number or release-note description alone does not settle the PR type. This is a current documentation rule, not a verified explanation of a historical incident or a tested repository configuration.

Sources and boundaries

  1. Official checkout README at v7.0.1, opening “What's new” sections for v5, v6 and v7. This is the source for the three documented changes, not a claim that v7.0.1 is the latest release.
  2. Exact worked-example workflow at v4.2.2, top-level triggers and complete build job. Only that scope was used for the example.

Tag-specific links make the readings reproducible but are not immutable commit-SHA citations. The example is historical; inspect your current workflow and target release before acting. These three gates do not cover all changes: ESM/dependencies, OS and GitHub Enterprise Server compatibility, other actions and other jobs need separate review. The FAQ cites mutable current GitHub documentation; its policy scope is separate from release security classification and any particular PR's cause.

By Felix Hale. Upgrade Notes is an independent resource, not affiliated with GitHub. This guide and worksheet are free to read and reuse in your review process. No claim of tested compatibility, customer results or complete security assurance.