What are GitHub Actions workflow permissions and the `permissions` key used for?

Github Hard

Github — Hard

What are GitHub Actions workflow permissions and the `permissions` key used for?

Key points

  • The `permissions` key overrides default permissions at workflow or job level
  • Permission scopes include contents, pull-requests, issues, and packages
  • Each scope can be set to read, write, or none
  • This setting applies to GITHUB_TOKEN permissions

Ready to go further?

Related questions