We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c305394 commit 1790ea0Copy full SHA for 1790ea0
.github/workflows/terraform-apply.yml
@@ -2,7 +2,7 @@ name: 'Terraform Test'
2
3
on:
4
issue_comment:
5
- types: [edited, created]
+ types: [created, edited]
6
7
permissions:
8
contents: read
@@ -11,9 +11,9 @@ jobs:
11
terraform-test:
12
name: 'Terraform Test'
13
runs-on: self-hosted
14
- # if: |
15
- # github.event.issue.pull_request &&
16
- # contains(github.event.comment.body, '/test')
+ if: |
+ github.event.issue.pull_request &&
+ startsWith(github.event.comment.body, '/test')
17
18
steps:
19
- name: Checkout
0 commit comments