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?
What part(s) of the article would you like to see updated?
Finally,
if the workflow was triggered by a pull request from a forked repository,
and the Send write tokens to workflows from pull requests setting is not selected,
the permissions are adjusted to change any write permissions to read only.
Should be changed to say clarify that if the workflow was triggered by a pull request and the job event is pull_request_target
then write permissions will not be changed to read only.
I'm still recovering from a concussion, but here's my first attempt at fixing this text:
Finally,
if the workflow was triggered for thepull_request
event (and not thepull_request_target
event) by a pull request from a forked repository,
and the Send write tokens to workflows from pull requests setting is not selected,
the permissions are adjusted to change any write permissions to read only.
Additional information
No response