File tree Expand file tree Collapse file tree 1 file changed +14
-4
lines changed
Expand file tree Collapse file tree 1 file changed +14
-4
lines changed Original file line number Diff line number Diff line change 1212 push :
1313 branches : [ "master" ]
1414 pull_request :
15- branches : [ "master" , "develop"]
15+ branches : [ "master", "develop" ]
16+ types : [opened, synchronize, reopened, ready_for_review]
17+ workflow_dispatch :
1618
1719jobs :
1820 build :
1921 if : |
20- (github.event_name == 'push') ||
21- (github.event.pull_request.base.ref == 'master') ||
22- (github.event.pull_request.base.ref == 'develop' && github.event.action == 'closed')
22+ github.event_name == 'push' ||
23+ (
24+ github.event_name == 'pull_request' &&
25+ (github.event.pull_request.base.ref == 'master' || github.event.pull_request.base.ref == 'develop') &&
26+ !github.event.pull_request.draft
27+ ) ||
28+ (
29+ github.event_name == 'pull_request' &&
30+ github.event.action == 'closed' &&
31+ github.event.pull_request.base.ref == 'develop'
32+ )
2333
2434 strategy :
2535 matrix :
You can’t perform that action at this time.
0 commit comments