mirror of
https://github.com/actions/checkout.git
synced 2025-12-12 17:58:25 +00:00
@@ -314,7 +314,7 @@ jobs:
|
||||
|
||||
## Recommended permissions
|
||||
|
||||
When using the `checkout` action in your GitHub Actions workflow, it is recommended to set the following `GITHUB_TOKEN` permissions to ensure proper functionality, unless alternative auth is provided:
|
||||
When using the `checkout` action in your GitHub Actions workflow, it is recommended to set the following `GITHUB_TOKEN` permissions to ensure proper functionality, unless alternative auth is provided via the `token` or `ssh-key` inputs:
|
||||
|
||||
```yaml
|
||||
permissions:
|
||||
|
||||
Reference in New Issue
Block a user