File tree Expand file tree Collapse file tree 2 files changed +21
-8
lines changed Expand file tree Collapse file tree 2 files changed +21
-8
lines changed Original file line number Diff line number Diff line change 8
8
- ' dev'
9
9
- ' releases/v*'
10
10
pull_request :
11
- branches :
12
- - ' dev'
13
- - ' releases/v*'
14
11
15
12
jobs :
16
13
ci :
92
89
pages_threshold : major_outage
93
90
-
94
91
name : Deploy
95
- if : success()
96
92
uses : ./
97
93
with :
98
94
target_branch : ${{ matrix.target_branch }}
Original file line number Diff line number Diff line change 8
8
paths-ignore :
9
9
- ' **.md'
10
10
pull_request :
11
- branches :
12
- - ' dev'
13
- - ' releases/v*'
14
11
paths-ignore :
15
12
- ' **.md'
16
13
17
14
jobs :
15
+ prepare :
16
+ runs-on : ubuntu-latest
17
+ outputs :
18
+ targets : ${{ steps.targets.outputs.matrix }}
19
+ steps :
20
+ -
21
+ name : Checkout
22
+ uses : actions/checkout@v3
23
+ -
24
+ name : Targets matrix
25
+ id : targets
26
+ run : |
27
+ echo "matrix=$(docker buildx bake validate --print | jq -cr '.group.validate.targets')" >> $GITHUB_OUTPUT
28
+
18
29
validate :
19
30
runs-on : ubuntu-latest
31
+ needs :
32
+ - prepare
33
+ strategy :
34
+ fail-fast : false
35
+ matrix :
36
+ target : ${{ fromJson(needs.prepare.outputs.targets) }}
20
37
steps :
21
38
-
22
39
name : Checkout
25
42
name : Validate
26
43
uses : docker/bake-action@v3
27
44
with :
28
- targets : validate
45
+ targets : ${{ matrix.target }}
You can’t perform that action at this time.
0 commit comments