docs icon indicating copy to clipboard operation
docs copied to clipboard

The permissions: workflows: option is currently undocumented

Open simonw opened this issue 1 month ago • 2 comments

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:

https://github.com/github/docs/blob/575894c16f97aa7d049a45628d5c78dd8424ef10/data/reusables/actions/github-token-available-permissions.md#L3-L20

It needs to include this:

permissions:
  workflows: write

This 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.

simonw avatar Nov 05 '25 18:11 simonw

@simonw Thanks for opening an issue and PR! I'm actively trying to get through my backlog of Actions questions, so I'll add this one to the queue and let you know when I have an answer from that team.

Sharra-writes avatar Nov 08 '25 00:11 Sharra-writes

A stale label has been added to this issue, because it has been open for 30 days with no activity. If you think this issue should remain open, please add a new comment.

github-actions[bot] avatar Dec 09 '25 16:12 github-actions[bot]