From bda085171d4cb263f2ff2036835d7e52a9bf453a Mon Sep 17 00:00:00 2001 From: Sudhish <108091997+skrdgraph@users.noreply.github.com> Date: Thu, 2 Mar 2023 23:20:09 +0000 Subject: [PATCH] fix(ci) update labeler to pull_request_target (#8717) Related to this change https://github.com/dgraph-io/dgraph/pull/8716 We will see labeler failing on community PRs without this change. --- .github/workflows/labeler.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml index 368b720f9bd..c406f84750c 100644 --- a/.github/workflows/labeler.yml +++ b/.github/workflows/labeler.yml @@ -1,6 +1,6 @@ name: labeler on: - pull_request: + pull_request_target: branches: - main - "release/v**" @@ -14,4 +14,4 @@ jobs: steps: - uses: actions/labeler@v4 with: - repo-token: "${{ secrets.GITHUB_TOKEN }}" + repo-token: "${{ secrets.GH_TOKEN }}"