mirror of
https://github.com/peter-evans/repository-dispatch.git
synced 2026-06-11 11:21:25 +00:00
Merge pull request #31 from cbetta/patch-1
Clarify that PAT owner needs to have repo access
This commit is contained in:
@@ -27,7 +27,8 @@ A GitHub action to create a repository dispatch event.
|
||||
|
||||
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.
|
||||
|
||||
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.
|
||||
|
||||
## Example
|
||||
|
||||
|
||||
Reference in New Issue
Block a user