INNER CODE UNIT · TypeScript

getFollowers

duckduckgo/Android · .github/actions/pr-asana-sync/src/main.ts:171

function getFollowers(
  githubAuthor: string,
  automatedPR: boolean
): string[] | undefined {
  const authorId = getUserIdFromLogin(githubAuthor)
  if (authorId) {
    return [authorId]
  }

  // if it's a PR created by automation add everyone to it
  if (automatedPR) {
    return Object.values(USER_MAP)
  }

  return undefined
}

async function getAssignee(

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…