GitHub Personal Access Token Setup
Sign in to ActionsManager using a GitHub Personal Access Token (no OAuth App required).
Table of contents
When to Use a PAT
- Fastest self-hosted setup — no OAuth App creation required
- Local development or testing — simpler than OAuth
- Repository-scoped access — fine-grained PATs limit access precisely
- Short-lived credentials — easy to rotate on a schedule
OAuth is also supported for browser-based GitHub login. See GitHub OAuth Setup.
Supported Token Types
| Type | Recommended? | Notes |
|---|---|---|
| Fine-grained PAT | ✅ Yes | Scoped to specific repos, expirable |
| Classic PAT | Supported | Broader scopes, use only if fine-grained is not available |
Create a Fine-Grained PAT
- Go to GitHub → Settings → Developer settings → Personal access tokens → Fine-grained tokens
- Click Generate new token
- Set a name, expiration date, and resource owner
- Under Repository access, choose Only select repositories
- Select every repository that ActionsManager should manage
- Grant these minimum permissions:
| Permission | Level | Required for |
|---|---|---|
| Metadata | Read-only | All operations |
| Contents | Read and write | Workflow file management |
| Actions | Read and write | Workflow triggering |
| Pull requests | Read and write | PR-based delivery |
| Secrets | Read and write | Repository secrets management |
| Variables | Read and write | Repository variables management |
- Click Generate token and copy it immediately — it is only shown once
Create a Classic PAT
- Go to GitHub → Settings → Developer settings → Personal access tokens → Tokens (classic)
- Click Generate new token (classic)
- Set an expiration date
- Select these scopes:
repo— private repository access and writesworkflow— workflow file updatesread:org— organization visibilityuser:email— user validation
- Click Generate token and copy it immediately
Sign In with a PAT
- Start ActionsManager (see Installation)
- Open
http://localhost:8080 - Click Sign in with Personal Access Token
- Paste your PAT and submit
- ActionsManager validates the token with GitHub and signs you in
Never put your PAT in the Docker command line, shell history, environment files, GitHub issues, or screenshots. Enter it in the UI after the container starts.
Manage a Saved PAT
After signing in, open the user menu to:
- Test token — verify the token is still valid
- Save token — store an updated token
- Replace token — swap to a new token
- Remove token — delete the saved token
The UI never displays the raw token value after saving; it shows only masked status such as Configured, Invalid or expired, or Missing required permissions.
Troubleshooting PAT Issues
Invalid token: The token may be mistyped, revoked, or expired. Generate a new one.
Missing repositories: Check that the fine-grained PAT was created with repository access to the correct repositories.
Missing write permissions: Verify that Contents, Actions, and Pull requests permissions are set to read and write.
Organization restrictions: Some organizations block fine-grained PATs or require approval. Check your organization’s token policy in GitHub settings.