Skip to content

Commit 55cb69e

Browse files
committed
security: unset KIRO_API_KEY after kiro-cli finishes
1 parent 7939761 commit 55cb69e

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

entrypoint.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,8 @@ if [ -s "$KIRO_STDERR_LOG" ]; then
160160
echo "::endgroup::"
161161
fi
162162

163-
# --- Post review to GitHub PR ---
163+
# --- Post review to GitHub PR (KIRO_API_KEY no longer needed) ---
164+
unset KIRO_API_KEY
164165
echo "Posting review to PR #${PR_NUMBER}..."
165166
export GITHUB_TOKEN
166167
python3 "${ACTION_DIR}/scripts/post_review.py" \

0 commit comments

Comments
 (0)