Skip to content

Commit 1790ea0

Browse files
committed
added back the condition
1 parent c305394 commit 1790ea0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/terraform-apply.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: 'Terraform Test'
22

33
on:
44
issue_comment:
5-
types: [edited, created]
5+
types: [created, edited]
66

77
permissions:
88
contents: read
@@ -11,9 +11,9 @@ jobs:
1111
terraform-test:
1212
name: 'Terraform Test'
1313
runs-on: self-hosted
14-
# if: |
15-
# github.event.issue.pull_request &&
16-
# contains(github.event.comment.body, '/test')
14+
if: |
15+
github.event.issue.pull_request &&
16+
startsWith(github.event.comment.body, '/test')
1717
1818
steps:
1919
- name: Checkout

0 commit comments

Comments
 (0)