Remove stray helper script

This commit is contained in:
jklein committed 2026-08-21 18:44:22 +02:00
1 parent 7f1ef4055f
commit be8ec3590e
1 file changed
-15
-15
View File
@@ -1,15 +0,0 @@
#!/bin/bash
# Throwaway PR watcher (not committed). Exits when the PR leaves OPEN state
# or any review/issue comment appears.
REPO=jk-cluster/helm-charts
PR=21
while true; do
STATE=$(gh pr view $PR --repo $REPO --json state --jq .state 2>/dev/null)
RC=$(gh api repos/$REPO/pulls/$PR/comments --jq length 2>/dev/null)
IC=$(gh api repos/$REPO/issues/$PR/comments --jq length 2>/dev/null)
if [ -n "$STATE" ] && [ "$STATE" != "OPEN" ]; then break; fi
if [ -n "$RC" ] && [ "$RC" != "0" ]; then break; fi
if [ -n "$IC" ] && [ "$IC" != "0" ]; then break; fi
sleep 90
done
echo "STATE=$STATE REVIEW_COMMENTS=$RC ISSUE_COMMENTS=$IC"