File tree Expand file tree Collapse file tree 2 files changed +18
-1
lines changed Expand file tree Collapse file tree 2 files changed +18
-1
lines changed Original file line number Diff line number Diff line change 5555 TERRAFORM_ACTIONS_GITHUB_TOKEN : No
5656 run : |
5757 GNUPGHOME=$HOME/.gnupg PYTHONPATH=image/tools:image/src pytest tests
58+
59+ tofu :
60+ runs-on : ubuntu-latest
61+ name : OpenTofu
62+ env :
63+ GITHUB_TOKEN : ${{ secrets.RELEASE_GITHUB_TOKEN }}
64+ steps :
65+ - name : Checkout
66+ uses : actions/checkout@v3
67+
68+ - name : Check tofu actions are up to date
69+ run : |
70+ python3 tofu/tofuize.py
71+ git diff --exit-code
Original file line number Diff line number Diff line change @@ -141,8 +141,11 @@ The [dflook/tofu-apply](https://github.com/dflook/terraform-github-actions/tree/
141141
142142* `add_github_comment`
143143
144+ Controls whether a comment is added to the PR with the generated plan.
145+
144146 The default is `true`, which adds a comment to the PR with the results of the plan.
145147 Set to `changes-only` to add a comment only when the plan indicates there are changes to apply.
148+ Set to `always-new` to always create a new comment for each plan, instead of updating the previous comment.
146149 Set to `false` to disable the comment - the plan will still appear in the workflow log.
147150
148151 - Type : string
@@ -345,7 +348,7 @@ The [dflook/tofu-apply](https://github.com/dflook/terraform-github-actions/tree/
345348
346349# # Workflow events
347350
348- When adding the plan to a PR comment (`add_github_comment` is set to `true`/`changes-only `), the workflow can be triggered by the following events :
351+ When adding the plan to a PR comment (`add_github_comment` is not `false `), the workflow can be triggered by the following events :
349352
350353 - pull_request
351354 - pull_request_review_comment
You can’t perform that action at this time.
0 commit comments