File tree 1 file changed +14
-1
lines changed
1 file changed +14
-1
lines changed Original file line number Diff line number Diff line change 6
6
push :
7
7
branches :
8
8
- main
9
+ - ' 8.x'
10
+ - ' 8.17'
11
+ - ' 8.16'
9
12
jobs :
10
13
generate_report :
11
14
runs-on : ubuntu-latest
15
+ strategy :
16
+ matrix :
17
+ branch :
18
+ - main
19
+ - ' 8.x'
20
+ - ' 8.17'
21
+ - ' 8.16'
12
22
steps :
13
23
- uses : actions/checkout@v4
14
24
with :
15
25
persist-credentials : false
26
+ ref : ${{ matrix.branch }}
27
+ fetch-depth : 0 # otherwise, you will failed to push refs to dest repo
16
28
- uses : ruby/setup-ruby@v1
17
29
with :
18
30
ruby-version : 3.3
30
42
env :
31
43
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
32
44
with :
33
- commit-message : Updates API report ${{env.REPORT_DATE}}
45
+ commit-message : Updates API report ${{env.REPORT_DATE}} ${{ matrix.branch }}
34
46
title : Updates API report
35
47
author : ' Elastic Machine <elasticmachine@users.noreply.github.com>'
48
+ branch : ${{ matrix.branch }}
You can’t perform that action at this time.
0 commit comments