📝 Edit page
➕ Add page
Tokens
How to manage GitHub API tokens and deploy keys for use with GH Actions
Topics
Pages
-
Access Token
A guide to the user-generated GitHub auth token for use in workflows
-
Deploy key
A repo-scoped GitHub tokens useful for automated deploys
-
GitHub Token
A guide to using the secure auto-generated
GITHUB_TOKEN
token in workflows
Content
The use-case here is if you want to change content and commit in a repo using GitHub Actions.
Maybe you want to pull in some CSV data and store it. Or you want to apply lint and formatting automatically.
Then you need to give your workflow permissions to push to your repo from within the Actions environment. So you must provide a token or use a deploy key.
Related
- Tokens cheatsheet in Dev Cheatsheets.