-
Notifications
You must be signed in to change notification settings - Fork 0
Description
Now we will set up service tokens that have all permissions, so we can go all CLI from here.
Particularly this entry in the documentation about Service tokens describes what we are trying to accomplish:
Create Service Tokens
Create an admin Token. (Settings >> Service tokens)
Capture Token ID and Token (you will never see the Token again - so if you forget start over.
Give the token access to everything in your organization
Store the token and token id as secrets on GitHub
You need to store your token id and token in multiple places:
GitHub Action secrets
Go to the Secrets and variables in your repository (Settings >> Secrets and variables).
Click on actions and create two Repository secrets
GitHub Codespaces
Click on Codespaces and create two Repository secrets
Keep them for yourself on your PC
You may want to use this token and token id set elsewhere, so store them in your personal password vault too.