Skip to content

Commit

Permalink
docs: Add notes about pull_request on forks
Browse files Browse the repository at this point in the history
  • Loading branch information
peaceiris authored Mar 29, 2020
1 parent c13c26c commit cf0e7e1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,8 @@ jobs:
# config_file: .github/label-commenter-config.yml
```

For the `pull_request` event from forks, we need to use a personal access token instead of `GITHUB_TOKEN`. The generated `GITHUB_TOKEN` on a fork has no write permission. See the official documentation for more details. [Authenticating with the GITHUB_TOKEN - GitHub Help](https://help.github.com/en/actions/configuring-and-managing-workflows/authenticating-with-the-github_token)

### Action Setting

```yaml
Expand Down

0 comments on commit cf0e7e1

Please sign in to comment.