JoshuaKGoldberg / JoshuaKGoldberg/create-typescript-app

🚀 Feature: Create ACCESS_TOKEN GitHub personal access token (PAT) for the user automatically

Open
#1,902 0 comments 1 reaction 0 assignees View on GitHub
status: blocked type: feature
Dominant language
TypeScript
Stars
1.4k
Forks
89
Avg merge
1m
Merged PRs (30d)
3

Description

### Bug Report Checklist

- [x] I have pulled the latest `main` branch of the repository.
- [x] I have [searched for related issues](https://github.com/JoshuaKGoldberg/create-typescript-app/issues?q=is%3Aissue) and found none that matched my issue.

### Overview

Right now, CTA asks that upon creation of a repository you manually add a GitHub personal access token (PAT) under `ACCESS_TOKEN`:

https://github.com/JoshuaKGoldberg/create-typescript-app/blob/c0325c4ebdc35950583419b54527d85e6ed23cc7/docs/Creation.md#L19-L21

### Additional Info

CTA currently uses classic tokens, not the new fine-grained ones. Per https://stackoverflow.com/questions/57458669/generate-personal-access-token-in-github-using-api -and my not being able to find docs for this online- I don't think there's currently an API for classic tokens. But there does appear to be one for fine-grained tokens: https://docs.github.com/en/rest/authentication/endpoints-available-for-fine-grained-personal-access-tokens?apiVersion=2022-11-28. So I'll mark this feature request as blocked on #1901.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.