Forgejo copy of the OpenTofu plan and apply template #25

Open
nelson wants to merge 1 commit from FORGEJO-3-tofu-template into main
Owner

Adds .forgejo/workflows/tofu-plan-apply-template.yml, the Forgejo copy of the GitHub OpenTofu plan and apply template with the same inputs, so repos moving to Forgejo can run their tofu there (fzt-frontend first). Differences from the GitHub copy: setup-opentofu and azure/login are taken by full GitHub URL, there is no permissions: block, and the plan comment is posted through Forgejo's API with curl instead of github-script. Callers set enable-openid-connect: true on the calling job.

CI's actionlint now ignores only its "invalid format" error for full-URL uses:, which Forgejo accepts and actionlint does not know.

Work package: https://openproject.romaine.life/wp/FORGEJO-3

Adds `.forgejo/workflows/tofu-plan-apply-template.yml`, the Forgejo copy of the GitHub OpenTofu plan and apply template with the same inputs, so repos moving to Forgejo can run their tofu there (fzt-frontend first). Differences from the GitHub copy: setup-opentofu and azure/login are taken by full GitHub URL, there is no `permissions:` block, and the plan comment is posted through Forgejo's API with curl instead of github-script. Callers set `enable-openid-connect: true` on the calling job. CI's actionlint now ignores only its "invalid format" error for full-URL `uses:`, which Forgejo accepts and actionlint does not know. Work package: https://openproject.romaine.life/wp/FORGEJO-3
Forgejo copy of the OpenTofu plan and apply template (FORGEJO-3)
All checks were successful
CI / actionlint (pull_request) Successful in 15s
e6accbf013
Some checks are pending
CI / actionlint (pull_request) Successful in 15s
Required
Details
Suite default / * (pull_request)
Required
Suite release / * (pull_request)
Required
This pull request has changes conflicting with the target branch.
  • .forgejo/workflows/ci.yml
  • README.md
View command line instructions

Manual merge helper

Use this merge commit message when completing the merge manually.

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'FORGEJO-3-tofu-template:FORGEJO-3-tofu-template'
git switch 'FORGEJO-3-tofu-template'
Sign in to join this conversation.
No description provided.