• Picks
  • Discover
  • Alternatives
  • About

© 2026 Willet

  • Newsletter
  • About
  • FAQ
  • Terms
  • Privacy & Cookies
Join the Discord (opens in a new tab)
GitHub Actions avatar

Checkout

GitHub Actions step that clones your repository into the workflow runner

  • Developer tools
View on GitHub
Website

What it is

An official GitHub Action that fetches a repository into the runner's workspace so later workflow steps can build, test, or deploy it. It supports picking a branch, tag, or commit, shallow or full history, sparse and partial clones, submodules, Git LFS, and authentication by token or SSH key. Developers writing CI/CD workflows on GitHub add it as the first step of nearly every job, and recent versions block unsafe checkouts of fork pull requests by default.

Images

Facts

Stars
8,968 GitHub stars.
8,968

Forks
2,778
Commits
235
Contributors
54
Language
TypeScript
License
MIT
Last commit
Jul 20, 2026
On GitHub since
July 2019
First release
August 2019
Platforms
macOS, Windows, Linux
Self-hostable
No
Tags
  • ci-cd
  • git

Last synced from GitHub on Oct 20, 2026

The 10 best overlooked open-source projects, every Monday.

Share and more

Comments

No comments yet. Start the conversation.

Similar projects

  • GitHub avatar

    GitHub Stacked PRs

    GitHub CLI extension for building and managing stacked pull requests

    1.7k

What people are saying

Updated Oct 21, 2026
  • Bluesky“here `git pull origin ${{ github.head_ref || github.ref }}` I believe if they'd have used the instead it would not have had the issue”Dec 6, 2024 · 11 likes · 1 reply (opens Bluesky in a new tab)
  • Bluesky“#GitHub actions/checkout v7 in safer by default shocker! 🎉 > Safer fork pull request handling: checkout now refuses to check out fork pull request code by…”Jun 18, 2026 · 8 likes · 2 replies (opens Bluesky in a new tab)
  • Hacker NewsCan't use 'tar -xzf' extract archive fileSep 4, 2023 · 3 points · 0 comments (opens Hacker News in a new tab)
  • Hacker NewsGitHub Actions Stopped WorkingNov 27, 2020 · 3 points · 0 comments (opens Hacker News in a new tab)
  • Hacker NewsCheckout v3 using node20 instead of node16Jul 11, 2024 · 2 points · 0 comments (opens Hacker News in a new tab)
  • Hacker NewsGit v2.35.2 breaks actions/checkout in containersApr 13, 2022 · 2 points · 0 comments (opens Hacker News in a new tab)
  • Bluesky“Up to node24 runtime and ESM support come with actions/checkout, the official GitHub Action for checking out your repository.”Sep 26, 2026 · 0 likes · 0 replies (opens Bluesky in a new tab)
  • Bluesky“GitHub - actions/checkout: Action for checking out a repo”Aug 13, 2025 · 0 likes · 0 replies (opens Bluesky in a new tab)