Unverified Commit 1e099660 authored by Wolfgang Walther's avatar Wolfgang Walther Committed by GitHub
Browse files

ci/github-script/labels: fix unmaintained packages (#457511)

parents 497be408 7b4a437e
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -299,10 +299,10 @@ module.exports = async ({ github, context, core, dry }) => {
        '11.by: package-maintainer':
          packages.length &&
          packages.every((pkg) =>
            maintainers[pkg].includes(pull_request.user.id),
            maintainers[pkg]?.includes(pull_request.user.id),
          ),
        '12.approved-by: package-maintainer': packages.some((pkg) =>
          maintainers[pkg].some((m) => approvals.has(m)),
          maintainers[pkg]?.some((m) => approvals.has(m)),
        ),
      })
    }