From c45f41c7773052313467bc044a72ab2ec6b57ca2 Mon Sep 17 00:00:00 2001 From: ylemkimon Date: Wed, 9 Sep 2020 03:33:55 +0900 Subject: [PATCH] Update README to use `pull_request_target` event (#90) --- README.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/README.md b/README.md index 2d430629..a76435ce 100644 --- a/README.md +++ b/README.md @@ -2,8 +2,6 @@ Pull request labeler triages PRs based on the paths that are modified in the PR. -Note that only pull requests being opened from the same repository can be labeled. This action will not currently work for pull requests from forks -- like is common in open source projects -- because the token for forked pull request workflows does not have write permissions. - ## Usage ### Create `.github/labeler.yml` @@ -84,7 +82,7 @@ Create a workflow (eg: `.github/workflows/labeler.yml` see [Creating a Workflow ``` name: "Pull Request Labeler" on: -- pull_request +- pull_request_target jobs: triage: