exit early
Some checks failed
tofu plan k8s-wheatley / tofu-plan-k8s-wheatley (pull_request) Failing after 8s

This commit is contained in:
Peter 2026-02-18 17:16:17 +01:00
parent 8098efc5d4
commit 6b307cb5f2
Signed by: Peter
SSH key fingerprint: SHA256:B5tYaxBExaDm74r1px9iVeZ6F/ZDiyiy9SbBqfZYrvg

View file

@ -33,7 +33,6 @@ jobs:
- name: Install deps - name: Install deps
run: | run: |
apt update
apt install -y jq apt install -y jq
- name: OpenTofu Init - name: OpenTofu Init
@ -63,6 +62,10 @@ jobs:
comment_id=$(echo "$response" | jq -r \ comment_id=$(echo "$response" | jq -r \
'.[] | select(.body | test("OpenTofu Format and Style")) | .id' | head -n 1) '.[] | select(.body | test("OpenTofu Format and Style")) | .id' | head -n 1)
if [ -z $comment_id ]; then
exit 1
fi
echo "comment_id=$comment_id" echo "comment_id=$comment_id"
- name: Upsert comment - name: Upsert comment