1
0
mirror of https://github.com/actions/checkout.git synced 2026-07-11 19:23:49 +08:00

Compare commits

...

3 Commits

Author SHA1 Message Date
Mikael Finstad
c5751f0bf5 Merge 79a832ff0d into ff7abcd0c3 2025-08-19 21:49:07 +08:00
Salman Chishti
ff7abcd0c3 Update README to include Node.js 24 support details and requirements (#2248)
* Update README to include Node.js 24 support details and requirements

* Update
2025-08-13 13:57:25 +01:00
Mikael Finstad
79a832ff0d Improve PAT documentation 2022-10-26 02:33:54 +07:00

View File

@@ -2,7 +2,11 @@
# Checkout V5 # Checkout V5
Checkout v5 now supports Node.js 24 ## What's new
- Updated to the node24 runtime
- This requires a minimum Actions Runner version of [v2.327.1](https://github.com/actions/runner/releases/tag/v2.327.1) to run.
# Checkout V4 # Checkout V4
@@ -57,6 +61,10 @@ Please refer to the [release page](https://github.com/actions/checkout/releases/
# #
# We recommend using a service account with the least permissions necessary. Also # We recommend using a service account with the least permissions necessary. Also
# when generating a new PAT, select the least scopes necessary. # when generating a new PAT, select the least scopes necessary.
# For a basic restricted reference, you can use the same permissions as the
# [`GITHUB_TOKEN` gives.](https://docs.github.com/en/actions/security-guides/automatic-token-authentication#permissions-for-the-github_token)
# This means creating a "Fine-grained personal access token" with the
# `content` and `metadata` permissions.
# #
# [Learn more about creating and using encrypted secrets](https://help.github.com/en/actions/automating-your-workflow-with-github-actions/creating-and-using-encrypted-secrets) # [Learn more about creating and using encrypted secrets](https://help.github.com/en/actions/automating-your-workflow-with-github-actions/creating-and-using-encrypted-secrets)
# #
@@ -154,9 +162,10 @@ Please refer to the [release page](https://github.com/actions/checkout/releases/
# Scenarios # Scenarios
- [Checkout V5](#checkout-v5) - [Checkout V5](#checkout-v5)
- [What's new](#whats-new)
- [Checkout V4](#checkout-v4) - [Checkout V4](#checkout-v4)
- [Note](#note) - [Note](#note)
- [What's new](#whats-new) - [What's new](#whats-new-1)
- [Usage](#usage) - [Usage](#usage)
- [Scenarios](#scenarios) - [Scenarios](#scenarios)
- [Fetch only the root files](#fetch-only-the-root-files) - [Fetch only the root files](#fetch-only-the-root-files)