From cf0e7e136b7fcdef52bad69e118e6cb07dd4e057 Mon Sep 17 00:00:00 2001 From: Shohei Ueda <30958501+peaceiris@users.noreply.github.com> Date: Sun, 29 Mar 2020 19:02:38 +0900 Subject: [PATCH] docs: Add notes about pull_request on forks --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index f81e8948..4397dde7 100644 --- a/README.md +++ b/README.md @@ -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