From f540f114fdc239a3e08c6019555bfe825d6d8f18 Mon Sep 17 00:00:00 2001 From: Peter Evans Date: Thu, 25 Jun 2020 09:13:39 +0900 Subject: [PATCH] Update readme --- README.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 827f2d8..d9a0d95 100644 --- a/README.md +++ b/README.md @@ -26,9 +26,8 @@ A GitHub action to create a repository dispatch event. #### `token` This action creates [`repository_dispatch`](https://developer.github.com/v3/repos/#create-a-repository-dispatch-event) events. -The default `GITHUB_TOKEN` does not have scopes to do this so a `repo` scoped [PAT](https://help.github.com/en/github/authenticating-to-github/creating-a-personal-access-token-for-the-command-line) is required. - -If you will be dispatching to a public repository then you can use the more limited `public_repo` scope. Additionally, the user for which the PAT is created needs to have `write` access to the repository. +The default `GITHUB_TOKEN` does not have scopes to do this so a `repo` scoped [PAT](https://help.github.com/en/github/authenticating-to-github/creating-a-personal-access-token-for-the-command-line) created on a user with `write` access to the target repository is required. +If you will be dispatching to a public repository then you can use the more limited `public_repo` scope. ## Example