File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ on: [pull_request]
3
3
jobs :
4
4
scarthgap-repo :
5
5
runs-on : [self-hosted, builder]
6
- if : " !contains(github.event.head_commit.message, 'ci skip')"
6
+ if : " !contains(github.event.head_commit.message, 'ci skip') && github.event_name == 'pull_request' "
7
7
steps :
8
8
- uses : actions/checkout@v3
9
9
- uses : ./.github/actions/s3-configure
27
27
wpe_vers : ['2_46']
28
28
yocto_rel : ['scarthgap']
29
29
runs-on : [self-hosted, builder]
30
- if : " !contains(github.event.head_commit.message, 'ci skip')"
30
+ if : " !contains(github.event.head_commit.message, 'ci skip') && github.event_name == 'pull_request' "
31
31
needs : scarthgap-repo
32
32
steps :
33
33
- uses : actions/checkout@v3
72
72
yocto_rel : ['scarthgap']
73
73
continue-on-error : true
74
74
runs-on : [self-hosted, builder]
75
- if : " !contains(github.event.head_commit.message, 'ci skip')"
75
+ if : " !contains(github.event.head_commit.message, 'ci skip') && github.event_name == 'pull_request' && !github.event.pull_request.draft "
76
76
needs : scarthgap-repo
77
77
steps :
78
78
- uses : actions/checkout@v3
92
92
yocto_rel : ['scarthgap']
93
93
continue-on-error : true
94
94
runs-on : [self-hosted, builder]
95
- if : " !contains(github.event.head_commit.message, 'ci skip')"
95
+ if : " !contains(github.event.head_commit.message, 'ci skip') && github.event_name == 'pull_request' && !github.event.pull_request.draft "
96
96
needs : scarthgap-repo
97
97
steps :
98
98
- uses : actions/checkout@v3
You can’t perform that action at this time.
0 commit comments