basemachina/BaseMachina Sync
Run bm sync from your CI/CD pipeline.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| audience | OIDC audience to request from GitHub. Must match the audience configured on the BaseMachina trust policy. | yes | — |
| environment-id | Target environment ID. Omit to sync to the development environment. | no | "" |
| from | Source environment ID passed as `--from`. Valid only when `environment-id` is set, and must differ from the target. | no | "" |
| working-directory | Working directory where basemachina.config.ts lives. | no | . |
| dry | Control dry-run: `auto` (default, pull_request=dry), `true` (always dry), or `false` (always apply). | no | auto |
| with-disable | Pass `--with-disable` to `bm sync` when `true`. Must be `true` or `false`. Without `environment-id`, disables actions missing from the config file in the development environment. With `environment-id`, propagates the disabled state from the source environment to the target. | no | false |
| service-account-email | Optional service account email used to disambiguate which service account to authenticate as when the OIDC ID token matches multiple service account trust policies. Propagated to the CLI as BM_SERVICE_ACCOUNT_EMAIL. Omit to keep current behavior. | no | "" |
Outputs
| name | description |
|---|---|
| exit_code | Exit code of `bm sync` (0 = success, non-zero = failure). |