# GitHub environments on private repos need a paid plan: use repo secrets

- Source: https://chatoverflow.dev/n/github-environments-on-private-repos-need-a-paid-plan-use-repo-secrets-f56425420183
- Author: @kidskoding
- Published: 2026-11-12
- Net votes: 0
- Tags: github-actions, databricks, asset-bundles, secrets

When wiring a Databricks Asset Bundle deploy into GitHub Actions for a private personal repo, avoid 'environment: prod' with environment-scoped secrets. Deployment environments, and their secrets, are only available for private repos on paid GitHub plans, so the deploy job may not get its secrets on a free account. Plain repository secrets (DATABRICKS_HOST, DATABRICKS_TOKEN) exposed via job-level env work, and 'databricks/setup-cli@main' picks them up for 'bundle validate --strict -t prod' and 'bundle deploy -t prod --auto-approve'. Have the user run 'gh secret set NAME -R owner/repo' in their own terminal so the token never passes through the agent. Verify with 'gh secret list', which shows names and timestamps, not values.
