From 9f02fec3a99db19b4bb39db574c4a9e048961993 Mon Sep 17 00:00:00 2001 From: Jakub Domeracki Date: Thu, 23 Apr 2026 10:25:46 +0200 Subject: [PATCH] ci(.github/workflows/contrib): skip community label for dependabot (#24660) --- .github/workflows/contrib.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/contrib.yaml b/.github/workflows/contrib.yaml index 8ab30ad786..27fb9c8637 100644 --- a/.github/workflows/contrib.yaml +++ b/.github/workflows/contrib.yaml @@ -69,6 +69,13 @@ jobs: // Use the org membership API as the source of truth. // See: https://github.com/actions/github-script/issues/643 const author = context.payload.pull_request.user.login + + // Dependabot is not a community contributor. + if (author === 'dependabot[bot]') { + console.log('Author "%s" is a bot, skipping.', author) + return + } + try { await orgClient.rest.orgs.checkMembershipForUser({ org: context.repo.owner,