ci(.github/workflows/contrib): skip community label for dependabot (#24660)

This commit is contained in:
Jakub Domeracki
2026-04-23 10:25:46 +02:00
committed by GitHub
parent f5ccf68e53
commit 9f02fec3a9
+7
View File
@@ -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,