INNER CODE UNIT · TypeScript

isImportantAutomatedPR

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

function isImportantAutomatedPR(payload: PullRequestEvent): boolean {
  const githubAuthor = payload.pull_request.user.login
  // WebView2 update
  return (
    githubAuthor === 'daxmobile' &&
    payload.pull_request.head.ref.startsWith('webview2/')
  )
}

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

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…