File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change 5
5
branches : [ "main" ]
6
6
pull_request :
7
7
branches : [ "main" ]
8
+ types : [ opened, synchronize, reopened, ready_for_review ]
8
9
9
10
permissions :
10
11
contents : read
11
12
12
13
jobs :
13
14
generate-matrix :
14
15
name : " Generate matrix from cabal"
16
+ if : ( ( github.event_name == 'push' )
17
+ || ( github.event_name == 'pull_request'
18
+ && github.event.pull_request.draft == false
19
+ )
20
+ )
15
21
outputs :
16
22
matrix : ${{ steps.set-matrix.outputs.matrix }}
17
23
runs-on : ubuntu-latest
25
31
version : 0.1.7.1
26
32
27
33
test :
28
-
34
+ if : ( ( github.event_name == 'push' )
35
+ || ( github.event_name == 'pull_request'
36
+ && github.event.pull_request.draft == false
37
+ )
38
+ )
29
39
name : ${{ matrix.ghc }} on ${{ matrix.os }}
30
40
needs : generate-matrix
31
41
runs-on : ${{ matrix.os }}
You can’t perform that action at this time.
0 commit comments