Skip to content

Commit b38debe

Browse files
committed
fixed condition syntax
1 parent 3b35ff2 commit b38debe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/terraform-apply.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
terraform:
1111
name: 'Terraform Apply'
1212
runs-on: self-hosted
13-
if: github.event.issue.pull_request && (contains(github.event.comment.body, '/test') || contains(github.event.comment.body, '/rc_test'))
13+
if: ${{ github.event.issue.pull_request && (contains(github.event.comment.body, '/test') || contains(github.event.comment.body, '/rc_test')) }}
1414

1515
steps:
1616
- name: Checkout
@@ -75,7 +75,7 @@ jobs:
7575
-auto-approve \
7676
-input=false \
7777
-state="${{ steps.paths.outputs.state_file }}"
78-
if: github.event.issue.pull_request && contains(github.event.comment.body, '/test')
78+
if: ${{ github.event.issue.pull_request && contains(github.event.comment.body, '/test') }}
7979
env:
8080
GOOGLE_CREDENTIALS: ${{ secrets.GOOGLE_CREDENTIALS }}
8181
TF_VAR_project_id: ${{ vars.PROJECT_ID }}

0 commit comments

Comments
 (0)