Skip to content

Commit 3f6b95a

Browse files
committed
fix: workflow test
1 parent a86a024 commit 3f6b95a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/tf-smurf.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ jobs:
209209
echo "This is Plan"
210210
211211
- name: ⏳ Approval Before Apply
212-
if: ${{ inputs.terraform_destroy != 'true' && inputs.plan_only != 'true' }}
212+
if: ${{ !inputs.terraform_destroy && !inputs.plan_only }}
213213
uses: trstringer/manual-approval@v1
214214
with:
215215
secret: ${{ secrets.GITHUB_TOKEN }}
@@ -219,7 +219,7 @@ jobs:
219219
issue-title: "Approve Terraform Apply"
220220

221221
- name: 🚀 Terraform Apply
222-
if: ${{ inputs.terraform_destroy != 'true' && inputs.plan_only != 'true' }}
222+
if: ${{ !inputs.terraform_destroy && !inputs.plan_only }}
223223
run: |
224224
#smurf stf apply --auto-approve --dir=${{ inputs.terraform_directory }}
225225
echo "This is Init"

0 commit comments

Comments
 (0)