-
Notifications
You must be signed in to change notification settings - Fork 64.1k
Open
Labels
contentThis issue or pull request belongs to the Docs Content teamThis issue or pull request belongs to the Docs Content teamtriageDo not begin working on this issue until triaged by the teamDo not begin working on this issue until triaged by the team
Description
Code of Conduct
- I have read and agree to the GitHub Docs project's Code of Conduct
What article on docs.github.com is affected?
https://docs.github.com/en/actions/reference/workflows-and-actions/workflow-syntax#defining-access-for-the-github_token-scopes and possibly others.
What part(s) of the article would you like to see updated?
The section in this fragment:
docs/data/reusables/actions/github-token-available-permissions.md
Lines 3 to 20 in 575894c
| ```yaml | |
| permissions: | |
| actions: read|write|none{% ifversion artifact-attestations %} | |
| attestations: read|write|none{% endif %} | |
| checks: read|write|none | |
| contents: read|write|none | |
| deployments: read|write|none{% ifversion fpt or ghec %} | |
| id-token: write|none{% endif %} | |
| issues: read|write|none{% ifversion not ghes %} | |
| models: read|none{% endif %} | |
| discussions: read|write|none | |
| packages: read|write|none | |
| pages: read|write|none | |
| pull-requests: read|write|none{% ifversion projects-v1 %} | |
| repository-projects: read|write|none{% endif %} | |
| security-events: read|write|none | |
| statuses: read|write|none | |
| ``` |
It needs to include this:
permissions:
workflows: writeThis permission allows the token to push changes to files in the .github/workflows folder.
Additional information
I'm sure there are other places that need to talk about this feature.
Metadata
Metadata
Assignees
Labels
contentThis issue or pull request belongs to the Docs Content teamThis issue or pull request belongs to the Docs Content teamtriageDo not begin working on this issue until triaged by the teamDo not begin working on this issue until triaged by the team