title | shortTitle | intro | versions | redirect_from | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Controlling permissions for `GITHUB_TOKEN` |
Permissions for `GITHUB_TOKEN` |
Modify the default permissions granted to `GITHUB_TOKEN`. |
|
|
{% data reusables.actions.enterprise-github-hosted-runners %}
{% data reusables.actions.jobs.section-assigning-permissions-to-jobs %}
{% data reusables.actions.github-token-available-permissions %}
{% data reusables.actions.forked-write-permission %}
You can specify permissions
at the top level of a workflow, so that the setting applies to all jobs in the workflow.
{% data reusables.actions.jobs.setting-permissions-all-jobs-example %}
{% data reusables.actions.jobs.section-assigning-permissions-to-jobs-specific %}
{% data reusables.actions.jobs.setting-permissions-specific-jobs-example %}