bisnow/Cleanup PR Stack

Safely cleanup Kubernetes PR stack resources, and CloudFormation stack

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Jul 6, 2026
License
None

Pinned Snippet

workflow.ymlSHA-pinned
uses: bisnow/github-actions-k8s-close-pr@e23d2132a142b621da38606868179074b3969d93 # v2.1.0

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
pr-numberPull 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-idStable 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-nameApplication name (used for resource queries to prevent namespace collisions)yes
service-nameService name (used for CloudFormation verification)yes
aws-accountAWS account name for role assumptionnobisnow
namespaceKubernetes namespace where PR stack is deployedyes
cloudformation-stack-prefixCloudFormation stack name prefix (e.g., "leads-pr" will match "leads-pr123")yes
aws-regionAWS region for CloudFormation operationsnous-east-1
eks-cluster-nameEKS cluster name for kubectl configurationnobisnow-non-prod-eks
namedescription
cleanup-statusStatus of cleanup operation