Unverified Commit bf5b8907 authored by Michael Daniels's avatar Michael Daniels
Browse files

ci/github-script/merge: clarify maintainership is based on target branch

parent bc0d297a
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -66,8 +66,9 @@ function runChecklist({
    if (allByName) {
      // We can only determine the below, if all packages are in by-name, since
      // we can't reliably relate changed files to packages outside by-name.
      checklist[`${user.login} is a maintainer of all touched packages.`] =
        eligible.has(user.id)
      checklist[
        `${user.login} is a maintainer of all touched packages on the ${pull_request.base.ref} branch.`
      ] = eligible.has(user.id)
    }
  } else {
    // This is only used when no user is passed, i.e. for labeling.