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 90c7c56e65 - Show all commits

View file

@ -72,13 +72,6 @@ jobs:
### ${{forge.workflow}} ### ${{forge.workflow}}
#### ${{ steps.fmt.outcome == 'success' && '✅' || '❌' }} OpenTofu Format and Style 🖌 #### ${{ steps.fmt.outcome == 'success' && '✅' || '❌' }} OpenTofu Format and Style 🖌
#### ${{ steps.init.outcome == 'success' && '✅' || '❌' }} OpenTofu Initialization ⚙️ #### ${{ steps.init.outcome == 'success' && '✅' || '❌' }} OpenTofu Initialization ⚙️
<details><summary>Initialization Output</summary>
```
${{ steps.init.outputs.stdout }}
```
</details>
#### ${{ steps.validate.outcome == 'success' && '✅' || '❌' }} OpenTofu Validation 🤖 #### ${{ steps.validate.outcome == 'success' && '✅' || '❌' }} OpenTofu Validation 🤖
<details><summary>Validation Output</summary> <details><summary>Validation Output</summary>
@ -100,7 +93,7 @@ jobs:
run: | run: |
payload=$(jq -Rs --arg body "$COMMENT_BODY" '{body: $body}' <<< "$COMMENT_BODY") payload=$(jq -Rs --arg body "$COMMENT_BODY" '{body: $body}' <<< "$COMMENT_BODY")
if [ -n "${{ steps.fetch.outputs.stdout }}" ] && [ "${{ steps.fetch.outputs.stdout }}" != "null" ]; then if [ -n "${{ steps.fetch.outputs }}" ] && [ "${{ steps.fetch.outputs }}" != "null" ]; then
curl -s -X PATCH \ curl -s -X PATCH \
-H "Authorization: token ${{ secrets.FORGEJO_TOKEN }}" \ -H "Authorization: token ${{ secrets.FORGEJO_TOKEN }}" \
-H "Content-Type: application/json" \ -H "Content-Type: application/json" \