actions

    actions/checkout

    Action for checking out a repo

    web
    TypeScript
    MIT
    9.0K stars
    2.7K forks
    9.0K GitHub watchers
    Updated Nov 5, 2026
    View on GitHub

    Build with Backblaze B2

    SDKs, agent skills, IDE extensions, and reference pipelines from Backblaze Labs. All open source.

    Explore Backblaze Labs

    Loading star history...

    Where it stands

    Rank, growth pace and release cadence relative to everything GStars tracks.

    No releases in the last 90 days; the most recent was 108 days ago, with 54 contributors on GitHub.

    Peaked at #11 in the weekly ranking the week of Jul 5, its best in the past year.

    Use Cases & Benefits

    • Checks out a GitHub repository into the GitHub Actions workspace for workflow access.
    • Enables authenticated git commands with token or SSH key persistence and supports shallow or full clone options.
    • Use for automating CI/CD workflows that require repository code checkout and manipulation.
    • Use for fetching specific files or folders via sparse checkout to optimize workflow performance.
    • Use for managing multiple repositories in a single workflow, including private repos with custom tokens.

    Should you depend on it?

    License terms, project hygiene and risks, from GitHub metadata and GStars' snapshots.

    License

    MIT

    Permissive: commercial use, modification and redistribution are allowed with attribution.

    Community files

    • README: present
    • Contributing guide: present
    • Code of conduct: present

    Watch-outs

    No watch-outs from GStars' checks.

    General guidance from repository metadata, not legal advice. How we score

    From the README

    This action checks-out your repository under $GITHUB_WORKSPACE, so your workflow can access it.

    Only a single commit is fetched by default, for the ref/SHA that triggered the workflow. Set fetch-depth: 0 to fetch all history for all branches and tags. Refer here to learn which commit $GITHUB_SHA points to for different events.

    The auth token is persisted in the local git config. This enables your scripts to run authenticated git commands. The token is removed during post-job cleanup. Set persist-credentials: false to opt-out.

    When Git 2.18 or higher is not in your PATH, falls back to the REST API to download the files.

    Thank you for your interest in this GitHub action, however, right now we are not taking contributions.

    We continue to focus our resources on strategic areas that help our customers be successful while making developers' lives easier. While GitHub Actions remains a key part of this vision, we are allocating resources towards other areas of Actions and are not taking contributions to this repository at this time. The GitHub public roadmap is the best place to follow along for any updates on features we’re working on and what stage they’re in.

    We are taking the following steps to better direct requests related to GitHub Actions, including:

    We will still provide security updates for this project and fix major breaking changes during this time.

    You are welcome to still raise bugs in this repo.

    Excerpt from the actions/checkout README on GitHub (MIT license). © its authors.Read the full README on GitHub

    Daily snapshots

    Stars gained per day, and how forks and open issues moved, from GStars' daily snapshots

    Aug 9: +2Aug 28: +70Aug 29: +4Aug 30: +33Sep 3: +3Sep 4: +3Sep 5: +2Sep 10: +3

    +382 stars over 90 days across 16 snapshot days; best day +70 on Aug 28.

    Forks

    2.7K-7

    Open issues

    703+18

    Compared with peers in Web

    Fastest-growing repositories GStars tracks in this cohort for the week of Nov 1, by 7-day star growth

    actions/checkout compared with Web repositories by stars, 7-day star growth, health score and last release
    RepositoryStars+7dHealthLast release
    pingdotgg/t3code48.4K+16.6K40today
    pbakaus/impeccable104.0K+8.7K5410 days ago
    HunYiSage/dsh-purge19.2K+6.2K13today
    Renhuai123/ziwei-doushu16.2K+6.1K4421 days ago
    paperclipai/paperclip111.5K+2.8K5913 days ago
    actions/checkout9.0K—59108 days ago
    Category median48.4K+6.2K44—

    Also by actions

    Other repositories from this maintainer that GStars tracks

    Discover Repositories

    Search across tracked repositories by name or description