bisnow/Cleanup PR Stack
Safely cleanup Kubernetes PR stack resources, and CloudFormation stack
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Activelast commit Jul 6, 2026
- License
- None
Pinned Snippet
uses: bisnow/github-actions-k8s-close-pr@e23d2132a142b621da38606868179074b3969d93 # v2.1.0tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| pr-number | Pull request number. Used for the summary and, unless stack-id is set, as the stack identity. Omit for a PR-independent dev stack (pass stack-id instead). | no | "" |
| stack-id | Stable stack identity used to reconstruct the release name (<app>-pr-<stack-id>), pr-number label, and CloudFormation stack name. A PR number ("123") or a dev-stack slug ("dev-authfix"). Defaults to pr-number. | no | "" |
| app-name | Application name (used for resource queries to prevent namespace collisions) | yes | — |
| service-name | Service name (used for CloudFormation verification) | yes | — |
| aws-account | AWS account name for role assumption | no | bisnow |
| namespace | Kubernetes namespace where PR stack is deployed | yes | — |
| cloudformation-stack-prefix | CloudFormation stack name prefix (e.g., "leads-pr" will match "leads-pr123") | yes | — |
| aws-region | AWS region for CloudFormation operations | no | us-east-1 |
| eks-cluster-name | EKS cluster name for kubectl configuration | no | bisnow-non-prod-eks |
Outputs
| name | description |
|---|---|
| cleanup-status | Status of cleanup operation |