chore: Add tofu workflows #1

Merged
Peter merged 82 commits from pgi-add-workflows into main 2026-02-18 22:55:53 +01:00
Showing only changes of commit a27e9e7aab - Show all commits

View file

@ -63,7 +63,7 @@ jobs:
comment_id=$(echo "$response" | jq -r \
'.[] | select(.body | test("${{ forge.workflow }}")) | .id' | head -n 1)
echo "comment_id=$comment_id"
echo "$comment_id"
- name: Add comment
id: comment
@ -93,7 +93,7 @@ jobs:
run: |
payload=$(jq -Rs --arg body "$COMMENT_BODY" '{body: $body}' <<< "$COMMENT_BODY")
if [ -n "${{ steps.fetch.outputs.comment_id }}" ] && [ "${{ steps.fetch.outputs.comment_id }}" != "null" ]; then
if [ -n "${{ steps.fetch.outputs.stdout }}" ] && [ "${{ steps.fetch.outputs.stdout }}" != "null" ]; then
curl -s -X PATCH \
-H "Authorization: token ${{ secrets.FORGEJO_TOKEN }}" \
-H "Content-Type: application/json" \