Before you begin
- Use a GitHub account that represents the Righthand if you want a separate audit trail.
- Invite that account to the organization or repositories it needs.
- Decide which repositories and actions the Righthand should be allowed to access.
- Keep the account’s password and recovery methods in a team-controlled password manager.
Create and connect the token
1
Create a fine-grained token
While signed in to the intended GitHub account, open GitHub’s token creation page. Choose the appropriate resource owner, select only the required repositories, grant the minimum permissions needed for the Righthand’s work, and set an expiration.GitHub documents the complete flow in Managing your personal access tokens.
2
Complete organization approval
If the resource owner is an organization that requires approval, ask an organization owner to approve the pending fine-grained token request. Until approval, the token cannot access the organization’s private resources.
3
Open GitHub in Righthand
Go to Righthands, select the Righthand, then open Manage → GitHub.
4
Save the token
Paste the token into the masked Token field and select Save. Righthand verifies the token before marking the integration active.
5
Verify access
Confirm that the GitHub pane shows Active and the expected GitHub account. Ask the Righthand to read a known repository before assigning write work.
Organization approval
If a fine-grained token is pending, a GitHub organization owner can review it under the organization’s Settings → Personal access tokens → Pending requests. GitHub’s guide is Managing requests for personal access tokens.Replace or disconnect a token
The GitHub pane shows Needs attention when a token has expired or cannot be verified.- Select Replace token to paste and verify a fresh token.
- Select Disconnect to remove GitHub access from the Righthand.
- Rotate the token before its expiration date to avoid interrupted work.
Troubleshooting
The token is active but a repository is missing
The token is active but a repository is missing
Confirm that the GitHub account can access the repository, that the token’s repository selection includes it, and that the token has the permissions required for the attempted action.
The token is pending
The token is pending
Ask a GitHub organization owner to approve the fine-grained token request. A pending token can read public resources but not the organization’s private resources.
Righthand shows Needs attention
Righthand shows Needs attention
Create a fresh token, select Replace token, and verify the connection again. Revoke the old token in GitHub if it is no longer needed.