Skip to content

Commit 3b8ab76

Browse files
committed
fixes
1 parent 3100c84 commit 3b8ab76

File tree

2 files changed

+4
-10
lines changed

2 files changed

+4
-10
lines changed

.github/actions/delete-control-plane-app/delete-app.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,11 @@
77

88
set -e
99

10+
printenv
11+
1012
# Validate required environment variables
11-
: "${APP_NAME:?APP_NAME environment variable is required}"
12-
: "${CPLN_ORG:?CPLN_ORG environment variable is required}"
13+
: "${$APP_NAME:?APP_NAME environment variable is required}"
14+
: "${$CPLN_ORG:?CPLN_ORG environment variable is required}"
1315

1416
# Safety check: prevent deletion of production or staging apps
1517
if echo "$APP_NAME" | grep -iqE '(production|staging)'; then

.github/workflows/delete-review-app.yml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -131,13 +131,6 @@ jobs:
131131
owner: context.repo.owner,
132132
repo: context.repo.repo,
133133
body: '🗑️ Starting app deletion...'
134-
body: [
135-
message,
136-
'',
137-
' 🗑️ [View Delete Logs](' + process.env.WORKFLOW_URL + ')',
138-
'',
139-
getConsoleLink(process.env.PR_NUMBER)
140-
].join('\n')
141134
});
142135
return { commentId: comment.data.id };
143136
@@ -148,7 +141,6 @@ jobs:
148141
cpln_org: ${{ vars.CPLN_ORG_STAGING }}
149142

150143
- name: Update Delete Status
151-
if: always()
152144
uses: actions/github-script@v7
153145
with:
154146
script: |

0 commit comments

Comments
 (0)