From 239da602c177c74e4a66c7eaaa8c2e616a7263d1 Mon Sep 17 00:00:00 2001 From: Trent Mick Date: Mon, 18 Mar 2024 18:02:48 -0700 Subject: [PATCH] ci: fix labeler workflow syntax Refs: #2003 --- .github/workflows/labeler.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml index 564cc7d31..a14b036c0 100644 --- a/.github/workflows/labeler.yml +++ b/.github/workflows/labeler.yml @@ -5,7 +5,7 @@ on: pull_request_target: types: [opened] -# 'issues: write' for https://docs.github.com/en/rest/issues/labels?apiVersion=2022-11-28#add-labels-to-an-issue +# '*: write' permissions for https://docs.github.com/en/rest/issues/labels?apiVersion=2022-11-28#add-labels-to-an-issue permissions: contents: read issues: write @@ -28,6 +28,6 @@ jobs: if: contains(steps.is_elastic_member.outputs.result, 'false') && github.actor != 'dependabot[bot]' && github.actor != 'apmmachine' uses: actions-ecosystem/action-add-labels@v1 with: - labels: - - community - - triage + labels: | + community + triage