GitHub API
GitHub · github · v1
- Hosts
- api.github.com
- Credential type
- bearer
- Placed in
- Authorization
- Default profile
- observer
Classification
| When | Class |
|---|---|
| POST ^/app/installations/[^/]+/access_tokens$ | destructivereturns a credentialThis path returns a credential of its own. It takes the destructive class and it is refused until you allow it. |
| POST ^/(repos/[^/]+/[^/]+|orgs/[^/]+)/actions/runners/(registration|remove)-token$ | destructivereturns a credentialThis path returns a credential of its own. It takes the destructive class and it is refused until you allow it. |
| GET HEAD ^/(repos/[^/]+/[^/]+|orgs/[^/]+)/(hooks|actions/) | read |
| DELETE ^/repos/[^/]+/[^/]+$ | destructivealways asks |
| POST PUT ^/repos/[^/]+/[^/]+/(merges|merge-upstream|pulls/[^/]+/merge)$ | write |
Scope we recommend
- repo
- read:org
- workflow
Imported from
- value: GITHUB_TOKEN, GH_TOKEN