async function getSponsors() {
  /**
   * Deploy previews don't have access to secrets.
   * Return early since we don't have a token.
   */
  if (
    process.env['DEPLOY_PREVIEW'] &&
    parseInt(process.env['DEPLOY_PREVIEW'])
  ) {
    console.log('Skipping sponsors because this is a deploy preview.')
    return []
  }

  console.log('Fetching sponsors...')

  const query = `
    {
      user(login: "sagalbot") {
        sponsorshipsAsMaintainer(first: 100) {
          nodes {
            sponsorEntity {
              ... on User {
                id
                avatarUrl
                login
              }
              ... on Organization {
                id
                avatarUrl
                login
              }
            }
            createdAt
          }
        }
      }
    }
  `

  try {
    const { user } = await graphql(query, {
      headers: {
        authorization: `token ${process.env.GITHUB_TOKEN || ''}`,
      },
    })
    return user.sponsorshipsAsMaintainer.nodes
  } catch (e) {
    console.log(`${e.status} ${e.name} - Couldn't fetch sponsor data.`)
    return []
  }
}
Get a list of the current sponsors. Requires GITHUB_TOKEN to be set.
@return {Promise<*[]|ProfileNode[]|postcss.ChildNode[]|Array<parser.Node>|[]>}