Skip to content

Commit ba09f8c

Browse files
authored
ci: arg inputs (#444)
Signed-off-by: Rishav Dhar <19497993+rdhar@users.noreply.github.com>
1 parent a004adc commit ba09f8c

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

.github/workflows/test_ci.yaml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -60,17 +60,20 @@ jobs:
6060
uses: ./
6161
with:
6262
working-directory: tests/${{ matrix.test }}
63-
arg-workspace: dev
64-
arg-lock: ${{ github.event.pull_request.merged }}
65-
arg-refresh: ${{ github.event.pull_request.merged && 'false' }}
6663
command: ${{ github.event.pull_request.merged && 'apply' || 'plan' }}
67-
comment-pr: ${{ matrix.tool == 'tofu' && 'always' || 'never' }}
64+
arg-lock: ${{ github.event.pull_request.merged }}
65+
arg-refresh: ${{ github.event.pull_request.merged && 'false' || 'true' }}
66+
arg-workspace: dev
67+
6868
format: true
6969
validate: true
70-
preserve-plan: true
71-
plan-parity: true
70+
7271
plan-encrypt: ${{ secrets.TF_ENCRYPTION }}
72+
plan-parity: true
73+
preserve-plan: true
7374
retention-days: 1
75+
76+
comment-pr: ${{ matrix.tool == 'tofu' && 'always' || 'never' }}
7477
tag-actor: never
7578
tool: ${{ matrix.tool }}
7679

0 commit comments

Comments
 (0)