2 ms·
I believe this is a good use for a GitHub machine account. IIRC, GitHub recommends this practice in their docs, with a username of "YOUR_USERNAME-machine". Th
by quesera 2y ago
I believe this is a good use for a GitHub machine account.
IIRC, GitHub recommends this practice in their docs, with a username of "YOUR_USERNAME-machine".
The machine user is just an ordinary GitHub user, added as a member of the organization, with all the necessary repo permissions, and a generated access token added to the GH repo Secrets. The organization owner then manages this GH machine account as well as the org, and their own personal (or work) login account.
- anttiharju 2y agoUsing machine/service accounts across an org can (relatively) easily hit rate limits, better way is to use a github app instead for generating the tokens: https://github.com/peter-evans/create-pull-request/blob/main/docs/concepts-guidelines.md#authenticating-with-github-app-generated-tokens https://github.com/peter-evans/create-pull-request/blob/main...
- quesera 2y agoGood to know, thanks. We have not hit any rate limiting so far, but we're a relatively small team -- a dozen devs, a few hundred commits per day that trigger CI (we don't do CD), across half a dozen active repos.