TrendWhat rose on GitHub, every day at 07:30 KST · 한국어

GitHub · as of November 8, 2026 · View on GitHub →

actions/checkout

GitHub Action for repository checkout

+19 stars in 7 days

Automate secure repository checkout for GitHub Actions workflows

This action automates the process of downloading code files to the workspace when a GitHub Actions workflow starts. It prepares a specific version or branch of the repository in the execution environment, allowing scripts and build commands to reference the code directly.

Enhanced Fork Request Security

Recent versions changed how code from pull requests in forked repositories is handled. Workflows triggered by pull_request_target or workflow_run use the base repository's token and secrets, so executing forked code can create security vulnerabilities. To prevent this, the action rejects forked code checkouts by default. If you must execute forked code after reviewing the risks, you must set the allow-unsafe-pr-checkout: true option. Additionally, credentials are now stored in a separate file under $RUNNER_TEMP rather than in the .git/config file, strengthening security.

Flexible Checkout Options

In addition to fetching the entire repository, you can selectively download only the necessary parts. Using sparse-checkout allows you to fetch only root files, specific folders, or single files to reduce build time. You can also specify the range of commit history to fetch by adjusting the fetch-depth value. When checking out multiple repositories simultaneously, the path option lets you place each repository side by side or in a nested structure. To check out a private repository, you must provide a personal access token (PAT) with access to that repository as the token input.

Permissions and Requirements

It is recommended to set the GITHUB_TOKEN permissions to contents: read when using this action, as this is the minimum permission required to read repository contents. If Git version 2.18 or higher is not present on the system, the action operates by downloading files via the REST API. To run authenticated git commands in Docker container actions, Actions Runner version v2.329.0 or higher is required. This repository does not currently accept external contributions and only provides bug reports and security updates.

Pre-Implementation Checks

When using this action in a workflow, you should verify which trigger executes it. Specifically, if you use pull_request_target, you must review the risks of executing forked code. For private repositories, it is advisable to minimize the token's scope. This action is released under the MIT license, allowing free use. However, because direct code modifications or contributions for specific features or bug fixes are not possible, it is best to check the official roadmap or community discussions for updates if a required feature is missing.

Written by AI from this repository's README on September 30, 2026. For the facts, the original on GitHub is the reference.

By the numbers

GitHub trending history
8 days between Jun 19, when Trend began recording, and Nov 8, 2026 · first on Jul 2 · best daily rank #5 (Jul 3)

Read from GitHub, as of November 8, 2026.

Language
TypeScript
Stars
9,010
Stars gained in 7 days
+19
Contributors
60
Forks
2,748
Latest release
v7.0.1 · July 20, 2026
Commits
235
Last commit
July 20, 2026
Open issues
555
Open pull requests
150
Used by
15,860,453

View on GitHub → · Homepage

README badge

trend.ondo.sh · GitHub daily trending #5 · July 3, 2026

The badge above shows the highest this repository has ranked on GitHub's daily trending since June 19, 2026, and the day it did. Paste the Markdown below into your README. The badge opens this page, and it updates by itself when the repository climbs higher.

[![trend.ondo.sh](https://trend.ondo.sh/github/r/actions--checkout/badge.en.svg)](https://trend.ondo.sh/github/r/actions--checkout/en.html)