From a033cfe1c4761c328fa3a852a1f1f856174764a0 Mon Sep 17 00:00:00 2001 From: Elliot DeNolf Date: Tue, 24 Sep 2024 13:47:41 -0400 Subject: [PATCH] ci: handle labeling CONTRIBUTOR and COLLABORATOR author associations --- .github/workflows/label-author.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/label-author.yml b/.github/workflows/label-author.yml index 84ba98322..b0084c1fb 100644 --- a/.github/workflows/label-author.yml +++ b/.github/workflows/label-author.yml @@ -33,7 +33,11 @@ jobs: const type = context.payload.pull_request ? 'pull_request' : 'issue'; const association = context.payload[type].author_association; let label = '' - if (association === 'MEMBER' || association === 'OWNER') { + if ( + association === 'MEMBER' || + association === 'OWNER' || + ['paulpopus', 'r1tsuu'].includes(context.actor) + ) { label = 'created-by: Payload team'; } else if (association === 'CONTRIBUTOR') { label = 'created-by: Contributor';