step-security/Delete Deployment Environment
GitHub Action to deactivate and optionally delete deployments and GitHub environments.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| token | GitHub access token with permissions to manage deployments and environments | yes | — |
| environment | Name of the environment to target (e.g. "production", "pr-123") | yes | — |
| ref | (Optional) Specific deployment ref to target (e.g. feature branch name) | no | — |
| onlyRemoveDeployments | Set to true to only remove deployments, leaving the environment intact. Defaults to false. | no | — |
| onlyDeactivateDeployments | Set to true to deactivate deployments only, without removing deployments or the environment. Defaults to false. | no | — |
Outputs
no outputs