'What is "contents: write" permission in GitHub workflow?
Recently I've faced an issue https://github.com/kkohtaka/gh-actions-pr-size/issues/9 that has a possible solution as adding contents: write permission to my job:
permissions:
contents: write
...
I've tried to find an explanation for it in https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs but found only supported values like contents: read|write|none.
What is contents: write permission in GitHub workflow? What does it give?
Solution 1:[1]
The token permissions are based on the GitHub App permission model.
You can refer to the overview for the GitHub App contents permission.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | timmeinerzhagen |
