From 8afdc8c3e3101d75069d4b7d6dcc29a8424eaa01 Mon Sep 17 00:00:00 2001 From: Tom Bamford Date: Tue, 24 Oct 2023 12:20:53 +0100 Subject: [PATCH] tooling: run labeler once per PR, to avoid removing `release-once-merged` label, works around https://github.com/actions/labeler/issues/624 --- .github/workflows/pr-labeler.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pr-labeler.yaml b/.github/workflows/pr-labeler.yaml index a45f40163f..3d778d4a39 100644 --- a/.github/workflows/pr-labeler.yaml +++ b/.github/workflows/pr-labeler.yaml @@ -1,6 +1,8 @@ name: "Pull Request Labeler" on: - - pull_request_target + pull_request_target: + types: + - opened # run once per PR to work around https://github.com/actions/labeler/issues/624 (avoid unwanted label removal) jobs: triage: