ec2-github-runner icon indicating copy to clipboard operation
ec2-github-runner copied to clipboard

Make ec2-github-runner working with GITHUB_TOKEN generated into the Github Action workflow

Open mik3fly opened this issue 2 years ago • 3 comments

I would like to use a GITHUB_TOKEN generated into my github action workflow instead of a Personnal Access Token. I m in a company context , and as it says "personal token" is not a best practice into a CI workflow.

mik3fly avatar Feb 28 '23 12:02 mik3fly

I guess that it would require some conditional logic and the ability to pass in the app_id and app_private_key. The project is already using the Octokit.js library so here are the Github docs for authenticating with an app installation

richardnpaul avatar Jul 12 '23 14:07 richardnpaul

Would be good to see this also.

mickmorse avatar Aug 02 '23 14:08 mickmorse

I would like to use a GITHUB_TOKEN generated into my github action workflow instead of a Personnal Access Token. I m in a company context , and as it says "personal token" is not a best practice into a CI workflow.

We are using machine-users (functional accounts) for those cases

hanseartic avatar Mar 05 '24 09:03 hanseartic