File tree Expand file tree Collapse file tree 2 files changed +7
-24
lines changed Expand file tree Collapse file tree 2 files changed +7
-24
lines changed Original file line number Diff line number Diff line change 11on :
2- issue_comment :
3- types :
4- - created
2+ pull_request :
3+ branches :
4+ - ' master '
55jobs :
66 distgen-check :
77 name : " Check distgen generated files"
88 runs-on : ubuntu-20.04
9- if : |
10- github.event.issue.pull_request
11- && (contains(github.event.comment.body, '[test]') || contains(github.event.comment.body, '[test-all]'))
12- && contains(fromJson('["OWNER", "MEMBER"]'), github.event.comment.author_association)
139 steps :
1410 - name : Checkout repo
1511 uses : actions/checkout@v2
5046
5147 container-tests :
5248 needs : distgen-check
53- # This job only runs for '[test]' pull request comments by owner, member
5449 name : " Container tests: ${{ matrix.version }} - ${{ matrix.context }}"
5550 runs-on : ubuntu-20.04
5651 strategy :
@@ -113,10 +108,6 @@ jobs:
113108 branch : " main"
114109 tmt_repo : " https://github.com/sclorg/sclorg-testing-farm"
115110
116- if : |
117- github.event.issue.pull_request
118- && (contains(github.event.comment.body, '[test]') || contains(github.event.comment.body, '[test-all]'))
119- && contains(fromJson('["OWNER", "MEMBER"]'), github.event.comment.author_association)
120111 steps :
121112 - name : Checkout repo
122113 uses : actions/checkout@v2
Original file line number Diff line number Diff line change 11on :
2- issue_comment :
3- types :
4- - created
2+ pull_request :
3+ branches :
4+ - ' master'
5+
56jobs :
67 distgen-check :
78 name : " Check distgen generated files"
89 runs-on : ubuntu-20.04
9- if : |
10- github.event.issue.pull_request
11- && (contains(github.event.comment.body, '[test]') || contains(github.event.comment.body, '[test-all]'))
12- && contains(fromJson('["OWNER", "MEMBER"]'), github.event.comment.author_association)
1310 steps :
1411 - name : Checkout repo
1512 uses : actions/checkout@v2
2825
2926 openshift-tests :
3027 needs : distgen-check
31- # This job only runs for '[test-all]' or '[test-openshift] pull request comments by owner, member
3228 name : " OpenShift tests: ${{ matrix.version }} - ${{ matrix.context }}"
3329 runs-on : ubuntu-20.04
3430 strategy :
8278 tmt_repo : " https://gitlab.cee.redhat.com/platform-eng-core-services/sclorg-tmt-plans"
8379 tf_scope : " private"
8480
85- if : |
86- github.event.issue.pull_request
87- && (contains(github.event.comment.body, '[test-openshift]') || contains(github.event.comment.body, '[test-all]'))
88- && contains(fromJson('["OWNER", "MEMBER"]'), github.event.comment.author_association)
8981 steps :
9082 - name : Checkout repo
9183 uses : actions/checkout@v2
You can’t perform that action at this time.
0 commit comments