INFO
Setup wizard → GitOps repo. This page prepares the GitHub repo and the token used by the Sariva platform pod to open pull requests. The AWS role that GitHub Actions assumes is configured later under AWS S3/DynamoDB state with GitHub Actions.
- the GitOps repository, and
- the Sariva platform’s GitHub token.
1. Create or choose the GitOps repo
Use an existing private repo or create a new private repo. Sariva does not create the repo. Recommended settings:- private repository
- default branch:
main - branch protection on
main - PR required before merge
- status checks required before merge
- CODEOWNERS for the platform team
- no direct pushes to
main
2. Create the Sariva platform GitHub token
This token is used by the Sariva platform pod to open and update GitOps pull requests. Use a fine-grained personal access token scoped to only this repo.1
Open fine-grained tokens
GitHub → your avatar → Settings → Developer settings → Personal access tokens → Fine-grained tokens → Generate new token.
2
Limit it to the GitOps repo
Choose the resource owner, then select Only select repositories and pick the GitOps repo.
3
Set repository permissions
Grant the permissions in the table below and generate the token. Copy it immediately; GitHub shows it once.
WARNING
Do not grant
Workflows: write to the Sariva platform token. Sariva never writes directly to .github/workflows/. You manually review and copy generated workflow templates during infrastructure bootstrap.setup-secret.sh on the Kubernetes paths, or as the GITHUB_TOKEN= line in .env on the Linux VM (Docker) path.
3. What this token is not
This token is not the AWS credential for GitHub Actions. There are two different GitHub-related credentials:Continue the deployment path
Next: LLM backend
Choose the platform’s LLM backend — Claude API, Ollama, or AWS Bedrock.
Back to the AWS EKS path
Return to the EKS path map to confirm where this step fits.
Back to the VM path
Running on a Linux VM? Return to the VM checklist.