mirror of
https://github.com/actions/download-artifact.git
synced 2025-01-22 17:35:28 +00:00
Add Recommended Permissions
To reduce risk of over-privileged tokens, we are adding recommended permissions to popular GitHub-owned Actions READMEs
This commit is contained in:
parent
7fba95161a
commit
86f43ed3c7
@ -251,3 +251,10 @@ If you must preserve permissions, you can `tar` all of your files together befor
|
||||
name: my-artifact
|
||||
path: my_files.tar
|
||||
```
|
||||
|
||||
# Recommended Permissions
|
||||
|
||||
The `actions/download-artifact` workflow relies on an internal authentication pattern and does not use the GITHUB_TOKEN, to reduce risk of over-privileged token, jobs that use `actions/download-artifact` should set permissions to none:
|
||||
|
||||
```yaml
|
||||
perm
|
||||
|
Loading…
Reference in New Issue
Block a user