chore: Add tofu workflows #1
1 changed files with 4 additions and 1 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue