From 0131a3fec08b5a3478de5ea2c8e8e9cb3c5b4bf5 Mon Sep 17 00:00:00 2001 From: bakerboy448 <55419169+bakerboy448@users.noreply.github.com> Date: Mon, 26 Jun 2023 23:29:13 -0500 Subject: [PATCH 1/2] chore(labeler): run when PR changes or master updates config --- .github/workflows/labeler.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml index b571c9e08..c65c84fa7 100644 --- a/.github/workflows/labeler.yml +++ b/.github/workflows/labeler.yml @@ -1,7 +1,12 @@ name: Label Pull Requests on: - - pull_request_target + pull_request_target: + push: + branches: + - master + paths: + - '**/labeler.yml' jobs: triage: From 5368ed76c04b29ec171f3b291891ffb1806cdbb0 Mon Sep 17 00:00:00 2001 From: bakerboy448 <55419169+bakerboy448@users.noreply.github.com> Date: Wed, 28 Jun 2023 08:30:01 -0500 Subject: [PATCH 2/2] simplify --- .github/workflows/labeler.yml | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml index c65c84fa7..daa1f51e5 100644 --- a/.github/workflows/labeler.yml +++ b/.github/workflows/labeler.yml @@ -1,12 +1,6 @@ name: Label Pull Requests -on: - pull_request_target: - push: - branches: - - master - paths: - - '**/labeler.yml' +on: [pull_request_target, push] jobs: triage: