Skip to content

Commit

Permalink
docs: fix about fork repo
Browse files Browse the repository at this point in the history
  • Loading branch information
peaceiris authored Jul 1, 2020
1 parent 90b09a3 commit df9e6e2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,9 @@ 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)
Note that we cannot post a comment from the `pull_request` event on a forked repository. 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)

See also [Issue #63](https://github.com/peaceiris/actions-label-commenter/issues/63).

### Action Setting

Expand Down

0 comments on commit df9e6e2

Please sign in to comment.