diff --git a/README.md b/README.md index f2d0bf99..303bf3de 100644 --- a/README.md +++ b/README.md @@ -26,10 +26,9 @@ Can be an exact version (e.g., `3.4.2`) or a version range (e.g., `3.x`). ### `repo-token` -(**Optional**) GitHub access token used for GitHub API requests. -Heavy usage of the action can result in workflow run failures caused by rate limiting. GitHub provides a more generous allowance for Authenticated API requests. +[GitHub access token](https://docs.github.com/en/github/authenticating-to-github/creating-a-personal-access-token) used for GitHub API requests. -It will be convenient to use [`${{ secrets.GITHUB_TOKEN }}`](https://docs.github.com/en/actions/reference/authentication-in-a-workflow). +**Default**: [`GITHUB_TOKEN`](https://docs.github.com/actions/security-guides/automatic-token-authentication) ## Usage diff --git a/action.yml b/action.yml index 61aadc57..c78a20f0 100644 --- a/action.yml +++ b/action.yml @@ -9,6 +9,7 @@ inputs: repo-token: description: "Token with permissions to do repo things" required: false + default: "${{ github.token }}" runs: using: "node16"