We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 40dc403 commit 9f0055fCopy full SHA for 9f0055f
.github/workflows/terraform-apply.yml
@@ -1,7 +1,7 @@
1
on:
2
pull_request:
3
branches:
4
- - PP-12736-tf-workflow
+ - main
5
issue_comment:
6
types: [edited, created]
7
@@ -13,9 +13,11 @@ jobs:
13
name: 'Terraform Apply'
14
runs-on: self-hosted
15
if: |
16
- github.event.issue.pull_request &&
+ (github.event_name == 'pull_request') ||
17
+ (github.event_name == 'issue_comment' &&
18
+ github.event.issue.pull_request != null &&
19
(contains(github.event.comment.body, '/test') ||
- contains(github.event.comment.body, '/rc_test'))
20
+ contains(github.event.comment.body, '/rc_test')))
21
22
steps:
23
- name: Checkout
0 commit comments