GitHub

Generate a GitHub personal access token

Create a fine-grained token so GitHub Actions can call the APIs needed for deployments. If your org requires classic tokens, follow the classic note below instead.

Fine-grained token steps

  1. Open GitHub → Settings → Developer settings → Personal access tokens → Fine-grained tokens.
  2. Select Generate new token and scope it to this repository.
  3. Under Repository permissions, grant at least Contents: Read and Actions: Write.
  4. Name the token (for example 3dvr-portal-ci), set an expiration, and generate it.
  5. Copy the token and store it as a repository secret such as GH_PAT if you need more than the default GITHUB_TOKEN provides.

Classic token note

If your organization requires classic tokens, generate one under Personal access tokens (classic) with the repo and workflow scopes. Store it in the same GH_PAT secret.

Use it in OpenAI Workbench

Jump to the OpenAI Workbench to paste your token into the GitHub publishing card. That panel saves the token locally while commits and previews sync through Gun for your team.

⬅ Back to guides Next: Vercel token & IDs OpenAI Workbench