mrkeyoor.comAsk

actions/checkouttested 02 Oct 2026commit f548e57

checkout review

Actions Checkout v7 is a reasonable choice for GitHub Actions jobs that need repository files, after checking runner requirements, history depth and credentials.

  • Install 8 s
  • Build 14 s
128/128tests passed
  • 530 packages
Automationevaluationupdated 31 Oct 2026
+12stars / 7d

Use Actions Checkout v7 for GitHub Actions jobs that need repository files, provided your runner meets its requirements and you review history and credential settings. Our run on October 2, 2026 tested commit f548e57 in our sandbox; it did not exercise a deployed GitHub Actions workflow. Actions Checkout places repository files under GITHUB_WORKSPACE for later workflow steps.

Verdict

Actions Checkout v7 is a reasonable choice for GitHub Actions jobs that need repository files, after checking runner requirements, history depth and credentials. Our October 2, 2026 sandbox run at f548e57 completed the repository commands successfully, but it did not test a deployed workflow. Review the six recorded audit advisories and validate authenticated checkout on your actual runner before rollout.

We ran it

Lab card: what happened when we ran checkout
Lab card from our sandbox run
Screenshot of checkout (github.com/features/actions)
github.com/features/actions
Install✓ · 8s530 packages · 167 MB
Build✓ · 14s
Tests✓ · 11s128 passed · 0 failed of 128 (jest)
Known vulns60 critical · 4 high · 1 moderate · 1 low (npm audit)
Repo98 files~7,586 lines of source · 0.6 MB · 7 CI workflows

Answers from our run

Does checkout build from source?

Dependencies installed in 8 seconds (530 packages), and the build succeeded in 14 seconds. We cloned commit f548e57 into a clean Debian container with 3 CPUs and no project-specific setup.

Do checkout's tests pass?

Yes. The project's own test command finished in 11 seconds and reported 128 passed, 0 failed (jest).

Does checkout have known vulnerabilities in its dependencies?

npm audit flagged 6 known advisories in the dependency tree at the time of our run.

Who should not use checkout?

Self-hosted runners below Actions Runner v2.327.1, the documented minimum for the Node 24 runtime introduced in v5.

What are the alternatives to checkout?

Git, Sparse Checkout. Actions Checkout v7 is a reasonable choice for GitHub Actions jobs that need repository files, after checking runner requirements, history depth and credentials.

Setup5/5Under the visible rubric's ordinary-workflow scope, the README supplies a direct checkout invocation and configuration scenarios. This does not rate self-hosted rollout or credential compatibility.
Docs5/5The supplied README documents inputs, permissions, history, private repositories and credential behavior with actionable scenarios.
Community4/5The README provides bug-reporting, Community Discussions and support routes, but explicitly pauses external contributions. This assesses participation routes, not adoption.
Maturity5/5Within the rubric's maintenance-practice scope, the README commits to security updates and major-breakage fixes, and v7.0.1 documents concrete fixes. This is not a security or compatibility rating.

Discussed on

  1. hnAirbnb will now tell you about any annoying checkout chores before you book58 points
  2. hnHey HN, checkout my little Free/Opensource StackOverFlow site5 points
  3. hnGoogle checkout just shutdown us down5 points
  4. hnCan't use 'tar -xzf' extract archive file3 points
  5. hnGitHub Actions Stopped Working3 points

Who it’s for

Maintainers who need repository files available to GitHub Actions build or test steps.
Teams prepared to configure history depth, sparse paths, submodules or Git LFS for their workload.
Maintainers reviewing fork pull-request handling in privileged workflow events.
Teams able to validate authentication and filesystem behavior on their own self-hosted runners.

Who it’s NOT for

Self-hosted runners below Actions Runner v2.327.1, the documented minimum for the Node 24 runtime introduced in v5.
Jobs that need history or tags but must retain the default single-commit checkout.
Teams requiring an audit without high advisories: our recorded audit includes four high advisories.
Contributors expecting ordinary external feature patches to be accepted: the README says contributions are paused.

Setup reality

Our run on October 2, 2026 used commit f548e57e544e1ff5a4c46bf1e1b8685f8e4a348a in a lab-node:22 sandbox with 3 CPUs and 8 GB RAM. The harness records installation at 8 seconds, build at 14 seconds and tests at 11 seconds. Each command returned exit code zero without timing out.

The stored parser summary records 128 passed, zero failed and zero skipped Jest tests. These counts do not establish exhaustive unique test coverage. The raw Jest footer reports 10 passing suites and 7.204 seconds of Jest time; that differs from the harness's command wall time and is not an additional test run.

The stored dependency measurement is 530 packages and 167 MB. The installation tail separately says it added 585 packages and audited 586. Those figures describe different recorded outputs; we have not reconciled them or substituted one for another. Npm audit recorded six advisories: four high, one moderate, one low and zero critical. Scan coverage is unknown because the record has no scannedPackages field.

This was a repository installation, build and test run. It did not validate checkout inside a hosted workflow, private-repository authentication, container-action credentials or a self-hosted runner upgrade.

Should you use v7?

Use Actions Checkout v7 when a GitHub Actions job needs repository files and you can validate its runner and authentication settings. Our run on October 2, 2026 at commit f548e57 completed installation, build and tests in our sandbox. It did not establish that your deployed workflow, credentials or runner layout will work.

Checkout v7 refuses fork pull-request code by default for workflows triggered by pull_request_target or workflow_run. The README explains that these events run with the base repository's token, secrets and runner access. Enabling the unsafe checkout input therefore requires a workflow security review; the default refusal does not certify the rest of the job as safe.

What our sandbox established

Our stored parser summary records 128 passed Jest tests and zero failures or skips. It is a parsed summary from one dated run, not verified exhaustive unique coverage. The retained test tail includes passing checks for refusing fork pull-request head and merge references in privileged events, along with checks that allow ordinary pull-request events and explicitly permitted cases.

The harness records command success, exit codes, timeouts and wall-clock durations separately from parsed test results. Installation took 8 seconds, the build took 14 seconds and the test command took 11 seconds; all returned zero without timing out. The raw Jest footer's 7.204 seconds measures a different interval from the complete test command.

Our recorded npm audit contains six advisories: four high, one moderate and one low. These are dependency advisories, not demonstrated exploits or a security assessment of the action. The record does not identify scannedPackages, so scan coverage is unknown.

The MrKeyoor testing-methodology page explains how command outcomes and parsed counts reach our reviews. That page provides provenance context; its current procedure does not prove which methodology version governed this older run. No new execution or complete-log reconciliation was performed for this correction.

Check history and credentials before rollout

The default checkout fetches one commit. The README documents fetching all history for all branches and tags when a job needs it. Review this before using checkout for version calculation, changelogs or comparisons with earlier commits.

Credential persistence defaults to enabled. The v6 change notes say credentials moved into a separate file under RUNNER_TEMP, rather than being stored directly in .git/config. Disable persistence when later steps do not need authenticated Git commands. For a different private repository, the README says the built-in token is scoped to the current repository and documents supplying a personal access token with the least necessary permissions.

The Node 24 runtime requirement began with v5, rather than being a new v7 change. Its documented runner minimum is v2.327.1. Authenticated Git commands executed from a Docker container action have a separate documented minimum of Runner v2.329.0.

Self-hosted path handling needs its own check

Issue 2393 reports credential matching failures when Git resolves a symlinked work directory to a different path from the stored credential condition. The original report concerns v6.0.2 on macOS. A later commenter reports the same failure class with v7.0.0 on a Windows runner using a cross-drive junction.

These are user reports, not reproductions from our sandbox, and they do not establish the status of every later revision. They do justify testing authenticated fetches on the actual runner filesystem before rollout. Another participant's superficially similar hosted-runner failure was ultimately attributed to custom-token permissions, so the error message alone does not identify the cause.

Alternatives depend on what you need to replace

Git provides high-level operations and access to version-control internals. Consider Git directly when you intend to own the checkout script and its authentication and cleanup behavior. Its command interface does not establish an equivalent replacement for the action's workflow lifecycle handling.

Snow Actions Sparse Checkout is a narrower alternative for selecting repository paths. Its README describes sparse checkout through a required patterns input. Consider it when that interface fits your job, but Actions Checkout already supports sparse checkout, so selecting paths alone does not require switching actions. We did not run this alternative or establish runner compatibility beyond its supplied documentation.

How to read the scores

The scores are editorial assessments, not benchmarks. On this five-point rubric, 1 means substantial documented obstacles, 2 means substantial manual work, 3 means usable with material caveats, 4 means strong support with a meaningful limitation, and 5 means the supplied evidence directly supports the dimension's stated scope. Setup covers the documented ordinary workflow path; docs covers actionable configuration guidance; community covers support and participation channels; maturity covers release and maintenance practices. None measures adoption, security or universal compatibility.

The README documents ordinary checkout, permissions, authentication and history scenarios, supporting the setup and documentation assessments. Community participation has a clear limitation: external contributions are paused, although bug reporting and support routes remain. The maintenance assessment rests on the documented security and major-breakage commitments and the v7.0.1 release notes, rather than star counts.

Alternatives

ProjectWhat it isPick it when
GitThe version-control client provides high-level operations and access to internals.Consider a direct Git script when you want to own checkout behavior and will maintain authentication and cleanup yourself; the supplied evidence does not establish workflow lifecycle parity.
Sparse CheckoutAn action that selects repository paths through a required patterns input.Consider it when its sparse-checkout interface fits the job. Actions Checkout already supports sparse paths, and our sandbox did not test this alternative.

What people are saying

  1. [github-trending] actions/checkout

Sources

  1. Actions Checkout repository and README
  2. Actions Checkout v7.0.1 release
  3. Issue 2393: symlinked runner credential path
  4. Issue 2316: immutable releases request

More automation reviews