From a675352c3f42502c4db0a014ebcff5a9855c3610 Mon Sep 17 00:00:00 2001 From: Tine Kondo Date: Fri, 2 Oct 2020 12:19:23 +0200 Subject: [PATCH] fix(ci): fix "actions/labeler" failing on PRs from forked repos --- .github/workflows/label.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/label.yml b/.github/workflows/label.yml index ea7c600..b5e2e17 100644 --- a/.github/workflows/label.yml +++ b/.github/workflows/label.yml @@ -6,7 +6,7 @@ # https://github.com/actions/labeler name: Labeler -on: [pull_request] +on: [pull_request_target] jobs: label: @@ -16,4 +16,4 @@ jobs: steps: - uses: actions/labeler@v2 with: - repo-token: "${{ secrets.GITHUB_TOKEN }}" \ No newline at end of file + repo-token: "${{ secrets.GITHUB_TOKEN }}"