Stashbase
Sync

GitHub

Sync an environment's secrets to GitHub Actions

Sync sends an environment's secrets to GitHub Actions secrets. Stashbase stays the source of truth: when a secret changes, Stashbase creates or updates it in your repository.

Set up

  1. Connect GitHub once per workspace by authorizing Stashbase.
  2. Add the integration to an environment and choose the repository, prefix, and GitHub environment.

Connect GitHub

Authorize Stashbase to access your GitHub account and select the repository to connect.

Integration settings

Configure these settings when you add the integration to an environment.

Repository

The target GitHub repository where secrets should be created or updated.

Secret name prefix

Optional prefix to use for secret names in GitHub. This helps to organize secrets and avoid naming conflicts.

GitHub environment

Optional GitHub Environment to sync with. When set, secrets are synchronized as environment secrets for the selected GitHub Environment.

On this page