Closed legendecas closed 4 months ago
I don't think this document belongs here -- this repository is for the code running the bot server and not for the bot user. I think https://github.com/nodejs/admin/ would be a better place for this.
Well, this repo has the slogan of "@nodejs-github-bot's heart and soul" and the tokens are going to be used under the name of @nodejs-github-bot so I thought it would be easier to navigate here. And https://github.com/nodejs/admin/ is suitable for org-level requests, like creating a repo.
And https://github.com/nodejs/admin/ is suitable for org-level requests, like creating a repo.
I consider requesting a new token to be an org-level request. Maintaining the registry of tokens is certainly more the responsibility of the TSC rather than the github-bot team that maintains this repository. If the tokens are primarily for publishing to e.g. the npm registry, then arguably it's similar documentation to https://github.com/nodejs/admin/blob/main/npm-management.md.
Make sense. Closing in favor of https://github.com/nodejs/admin/pull/894.
Document how to apply a fine-grained token with github-nodejs-bot's name.
After this landed, github-nodejs-bot tokens that are not fine-grained tokens like https://github.com/nodejs/docker-node/blob/main/.github/workflows/automatic-updates.yml#L28 may be updated to be fine-grained tokens.