busbar-actions/Busbar — gh-env-scratch-save
Create or update a GitHub Environment and store a scratch org's non-secret identifiers there (instance URL, usernames, record ids) as Environment Variables. Never stores a Salesforce access token or any credential material.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| credentials-path | Path to the JSON file written by sf-org-create. | no | .busbar/scratch-credentials.json |
| environment-name | GitHub Environment name. Defaults to the stable named slot `scratch`. | no | scratch |
| repository | Target repository in owner/repo form. Empty = current repository. | no | "" |
| github-app-id | GitHub App id (REQUIRED). The App mints a least-privilege installation token for the target repo. | yes | — |
| github-app-private-key | GitHub App private key PEM (REQUIRED). Provide via a secret. | yes | — |
| version | Release tag of the gh-env-scratch-save binary. Falls back to env.BUSBAR_ACTION_VERSION, then "latest". | no | "" |
| binary-repo | GitHub repo hosting prebuilt binary releases. Falls back to env.BUSBAR_ACTION_REPO, then busbar-actions/actions-dist. | no | "" |
Outputs
| name | description |
|---|---|
| environment_name | The GitHub Environment name that was created/populated. |
| repository | The repository that received the environment. |
| scratch_org_id | The scratch org id persisted into the environment. |
| scratch_org_info_id | The ScratchOrgInfo id persisted into the environment. |