๐ Feature: Use get-github-auth-token instead of $(gh auth token)
JoshuaKGoldberg opened this issue ยท 1 comments
JoshuaKGoldberg commented
Bug Report Checklist
- I have pulled the latest
main
branch of the repository. - I have searched for related issues and found none that matched my issue.
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:
process.env.GH_TOKEN
- 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
๐
github-actions commented