Update README

Fine grain PATs now support GraphQL API
Update default Node version
This commit is contained in:
Tara Nelson
2024-03-18 22:28:26 +00:00
parent cf08ecd012
commit c8124459cd
2 changed files with 3 additions and 7 deletions

View File

@@ -7,8 +7,6 @@ Note that this action does not support [GitHub projects (classic)](https://docs.
[![build-test](https://github.com/actions/add-to-project/actions/workflows/test.yml/badge.svg)](https://github.com/actions/add-to-project/actions/workflows/test.yml)
> **NOTE:** ⚠️ This action no longer uses the deprecated ProjectNext API. If you are looking for the old version of that action, use version [v0.0.5](https://github.com/actions/add-to-project/releases/tag/v0.0.5).
## Usage
_See [action.yml](action.yml) for [metadata](https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions) that defines the inputs, outputs, and runs configuration for this action._
@@ -142,8 +140,6 @@ Using these events ensure that a given issue or pull request, in the workflow's
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_
@@ -156,7 +152,7 @@ Use the [Add To GitHub Projects](https://github.com/marketplace/actions/add-to-g
## Development
To get started contributing to this project, clone it and install dependencies.
Note that this action runs in Node.js 16.x, so we recommend using that version
Note that this action runs in Node.js 20.x, so we recommend using that version
of Node (see "engines" in this action's package.json for details).
```shell
@@ -185,6 +181,6 @@ the "dist/" directory.
Now, a release can be created from the branch containing the built action.
# License
## License
The scripts and documentation in this project are released under the [MIT License](LICENSE)