공부

[github] actions permissions

승가비 2022. 8. 10. 02:34
728x90
permissions:
  actions: read|write|none
  checks: read|write|none
  contents: read|write|none
  deployments: read|write|none
  id-token: read|write|none
  issues: read|write|none
  discussions: read|write|none
  packages: read|write|none
  pages: read|write|none
  pull-requests: read|write|none
  repository-projects: read|write|none
  security-events: read|write|none
  statuses: read|write|none
permissions: read-all|write-all
permissions: {}

https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs

 

Assigning permissions to jobs - GitHub Docs

Overview You can use permissions to modify the default permissions granted to the GITHUB_TOKEN, adding or removing access as required, so that you only allow the minimum required access. For more information, see "Authentication in a workflow." You can use

docs.github.com

 

728x90