1
0
mirror of https://github.com/actions/upload-artifact.git synced 2025-12-06 16:37:53 +01:00

Compare commits

...

2 Commits

Author SHA1 Message Date
Kylie Stradley
3a9904459b Merge 8d131b7299 into 4cec3d8aa0 2025-02-21 11:34:06 -08:00
Kylie Stradley
8d131b7299 Add Recommended Permissions
To reduce risk of over-privileged tokens, we are adding recommended permissions to popular GitHub-owned Actions READMEs
2025-01-21 21:28:37 -05:00

View File

@@ -478,3 +478,11 @@ At the bottom of the workflow summary page, there is a dedicated section for art
There is a trashcan icon that can be used to delete the artifact. This icon will only appear for users who have write permissions to the repository. There is a trashcan icon that can be used to delete the artifact. This icon will only appear for users who have write permissions to the repository.
The size of the artifact is denoted in bytes. The displayed artifact size denotes the size of the zip that `upload-artifact` creates during upload. The size of the artifact is denoted in bytes. The displayed artifact size denotes the size of the zip that `upload-artifact` creates during upload.
# Recommended Permissions
The `actions/upload-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/upload-artifact` should set permissions to none:
```yaml
permissions: {}
```