From 7e6ebfd63664ba768fd5b300a3fa1e6d333838b1 Mon Sep 17 00:00:00 2001 From: Rasmus Wriedt Larsen Date: Fri, 28 Aug 2020 09:31:46 +0200 Subject: [PATCH] Enable labeler action again This time using `pull_request_target`, so it will work properly with forks. See https://docs.github.com/en/actions/reference/events-that-trigger-workflows#pull_request_target This reverts commit d5d6093e751d252897d266faf61d5a2923c9df2a. --- .github/workflows/labeler.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 .github/workflows/labeler.yml diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml new file mode 100644 index 00000000000..3606bd75cc5 --- /dev/null +++ b/.github/workflows/labeler.yml @@ -0,0 +1,11 @@ +name: "Pull Request Labeler" +on: +- pull_request_target + +jobs: + triage: + runs-on: ubuntu-latest + steps: + - uses: actions/labeler@v2 + with: + repo-token: "${{ secrets.GITHUB_TOKEN }}"