diff --git a/README.md b/README.md index 6f590e349..833af3ef9 100644 --- a/README.md +++ b/README.md @@ -11,17 +11,8 @@ The default configuration will: ## Recommended permissions For the execution of this action, it must be able to fetch all issues and pull requests from your repository. -This can be achieved with the following [configuration in the action](https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#permissions) if the permissions are restricted: - -```yaml -permissions: - issues: read - pull-requests: read -``` - In addition, based on the provided configuration, the action could require more permission(s) (e.g.: add label, remove label, comment, close, etc.). -You can find more information about the required permissions under the corresponding options that you wish to use. -However, if don't want to bother, you can use these permissions: +This can be achieved with the following [configuration in the action](https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#permissions) if the permissions are restricted: ```yaml permissions: @@ -29,6 +20,8 @@ permissions: pull-requests: write ``` +You can find more information about the required permissions under the corresponding options that you wish to use. + ## All options ### List of input options