JoshuaKGoldberg/create-typescript-app

๐Ÿš€ Feature: Use get-github-auth-token instead of $(gh auth token)

JoshuaKGoldberg opened this issue ยท 1 comments

Bug Report Checklist

Overview

I just published https://github.com/JoshuaKGoldberg/get-github-auth-token, which is a small utility that attempts to find a GitHub auth token from the following places, in order:

  1. process.env.GH_TOKEN
  2. Executing gh auth token as a child process

Let's use that as the underlying way to get GitHub auth tokens. This can work as a precursor to #667 -> #1000.

Additional Info

๐Ÿ’–

๐ŸŽ‰ This is included in version v1.60.0 ๐ŸŽ‰

The release is available on:

Cheers! ๐Ÿ“ฆ๐Ÿš€