Update docs with permissions
information
#166
Labels
documentation
Improvements or additions to documentation
GH Workflows
Issue/PR related to the callable workflows
priority/high
High priority issue/PR
Whenever
permissions
is used to alter or "ensure" the minimum required permissions forGITHUB_TOKEN
, this should be mentioned and highlighted in the documentation.Since the called workflow might fail if the
permissions
is not also set accordingly in the caller workflow.There are in general 2 different approaches:
permissions
in the caller workflow (either at top-level or for the job that calls the called workflow).GITHUB_TOKEN
permissions for the repository to the "permissive" scope.For the second option, the setting in question looks like this:
The text was updated successfully, but these errors were encountered: