From 88bfcfcafbc2627b497f8fcc898c731d74656a67 Mon Sep 17 00:00:00 2001 From: Trent Mick Date: Tue, 27 Feb 2024 05:25:49 -0800 Subject: [PATCH] chore(ci): allow appropriate job in labeler workflow the write perms it needs (#3886) Closes: https://github.com/elastic/apm-agent-nodejs/issues/3884 --- .github/workflows/labeler.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml index 3a025522bb..1a400ac8a9 100644 --- a/.github/workflows/labeler.yml +++ b/.github/workflows/labeler.yml @@ -14,12 +14,15 @@ jobs: triage: runs-on: ubuntu-latest steps: - - name: Add agent-nodejs label + - name: Add agent-nodejs label to this issue/PR uses: AlexanderWert/issue-labeler@v2.3 with: repo-token: "${{ secrets.GITHUB_TOKEN }}" configuration-path: .github/labeler-config.yml enable-versioned-regex: 0 + permissions: + issues: write + pull-requests: write - name: Check team membership for user uses: elastic/get-user-teams-membership@1.1.0 id: checkUserMember