ci/github-script/bot: fix infinite labeling cycle (#458184)
This commit is contained in:
@@ -322,7 +322,7 @@ module.exports = async ({ github, context, core, dry }) => {
|
||||
|
||||
Object.assign(prLabels, evalLabels, {
|
||||
'11.by: package-maintainer':
|
||||
packages.length &&
|
||||
Boolean(packages.length) &&
|
||||
packages.every((pkg) =>
|
||||
maintainers[pkg]?.includes(pull_request.user.id),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user