-
-
Notifications
You must be signed in to change notification settings - Fork 36
Description
Describe the bug
Using OpenTofu (haven't tested with Terraform), when destroy is set to false the workflow runs with destroy regardless.
To Reproduce
Configure the action with the following arguments:
- name: TF Via PR Action Plan
uses: op5dev/tf-via-pr@v13
with:
working-directory: tf-dir
command: plan
tool: tofu
comment-pr: always
expand-diff: true
arg-auto-approve: true
arg-destroy: false
Expected behavior
The command being run should be:
tofu plan -chdir=tf-dir
Screenshots
Additional context
Reactions are currently unavailable