From 29cc462120bbff57709bdae673ae3d6b847cd1dd Mon Sep 17 00:00:00 2001 From: Wolfgang Walther Date: Wed, 18 Jun 2025 18:04:06 +0200 Subject: [PATCH] workflows/labels: manage "first-time contribution" label This is currently managed with yet another bot, but we don't need to - this fits into our workflow nicely. (cherry picked from commit 28f3b924036d479035656bc5b1b962eb63a5e68b) --- .github/workflows/labels.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/labels.yml b/.github/workflows/labels.yml index 870e3d98305d..177021ff1497 100644 --- a/.github/workflows/labels.yml +++ b/.github/workflows/labels.yml @@ -234,6 +234,8 @@ jobs: '12.approvals: 2': approvals.size == 2, '12.approvals: 3+': approvals.size >= 3, '12.approved-by: package-maintainer': Array.from(maintainers).some(m => approvals.has(m)), + '12.first-time contribution': + [ 'NONE', 'FIRST_TIMER', 'FIRST_TIME_CONTRIBUTOR' ].includes(pull_request.author_association), } )