Home > Enterprise >  Εlevate GITHUB_TOKEN's permissions in Github Actions
Εlevate GITHUB_TOKEN's permissions in Github Actions

Time:09-30

Each workflow run has access to a scoped GITHUB_TOKEN that has specific permissions.

According to the documentation, the default permissions for pull_requests is read/write.

If there is a branch protection rule (PR review required before merging), can the GITHUB_TOKEN permissions be elevated to the point it overrides such a rule?

CodePudding user response:

No - in case you need different permissions, you should use PAT instead (Personal Access Token).

  • Related