busbar-actions/Busbar — sf-org-delete
Delete a Salesforce scratch org and/or OrgSnapshot via direct API. Auths the DevHub via busbar-auth.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| target-instance | PRIMARY OIDC path: instance URL of the Busbar-equipped DevHub to mint a short-lived token against (e.g. busbar-pilot-demo2). Passed to the binary as SF_INSTANCE_URL; with `id-token: write` granted, busbar-auth OIDC-exchanges in-process (no SF_ACCESS_TOKEN handoff). | no | "" |
| scratch-org-info-id | ScratchOrgInfo id — its matching ActiveScratchOrg will be deleted (which deletes the scratch). | no | "" |
| snapshot-id | OrgSnapshot id — deleted directly. | no | "" |
| ignore-missing | Do not fail if nothing matches (idempotent cleanup). | no | true |
| version | Release tag of the sf-org-delete 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 |
|---|---|
| deleted_scratch_org | "true" when a scratch org was deleted. |
| deleted_snapshot | "true" when a snapshot was deleted. |
| scratch_org_info_id | Echoes the requested ScratchOrgInfo id when provided. |
| active_scratch_org_id | ActiveScratchOrg id that was deleted, when one was found. |
| snapshot_id | Echoes the requested OrgSnapshot id when provided. |