Merge pull request #356 from LL782/patch-1

Add details about using a classic PAT
This commit is contained in:
Matthew Costabile
2023-05-09 13:01:04 +00:00
committed by GitHub

View File

@@ -139,9 +139,11 @@ Using these events ensure that a given issue or pull request, in the workflow's
## Creating a PAT and adding it to your repository
- create a new [personal access
token](https://github.com/settings/tokens/new) with `repo` and `project` scopes
token](https://github.com/settings/tokens/new) with `project` scope. For private repos you will also need `repo` scope.
_See [Creating a personal access token](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token) for more information_
> **NOTE:** Use a classic token with full control of projects. Personal access tokens with fine grained access do not support the GraphQL API.
- add the newly created PAT as a repository secret, this secret will be referenced by the [github-token input](#github-token)
_See [Encrypted secrets](https://docs.github.com/en/actions/security-guides/encrypted-secrets#creating-encrypted-secrets-for-a-repository) for more information_