7
7
jobs :
8
8
generate_report :
9
9
runs-on : ubuntu-latest
10
+ env :
11
+ STACK_VERSION : 8.16.4-SNAPSHOT
12
+ BRANCH : ' 8.16' # Branch for downloading the specs
10
13
steps :
11
14
- uses : actions/checkout@v4
12
15
with :
18
21
run : |
19
22
cd report && bundle install
20
23
echo "REPORT_DATE=`date "+%Y-%m-%d|%H:%M:%S"`" >> $GITHUB_ENV
21
- env :
22
- STACK_VERSION : 8.17.1-SNAPSHOT
23
- BRANCH : ${{ matrix.branch }} # Branch for downloading the specs
24
24
- name : Download Artifacts
25
25
run : cd report && bundle exec rake download_all
26
26
- name : Generate report
@@ -30,14 +30,14 @@ jobs:
30
30
id : cpr
31
31
with :
32
32
token : ${{ secrets.GITHUB_TOKEN }}
33
- commit-message : Updates API report ${{env.REPORT_DATE}} ${{ matrix.branch }}
34
- branch : update_report_${{ matrix.branch }}
35
- title : Updates API report ${{ matrix.branch }}
33
+ commit-message : Updates API report ${{env.REPORT_DATE}} ${{ env.BRANCH }}
34
+ branch : update_report_${{ env.BRANCH }}
35
+ title : Updates API report ${{ env.BRANCH }}
36
36
body : ' As titled'
37
- base : ${{ matrix.branch }}
37
+ base : ${{ env.BRANCH }}
38
38
committer : ' Elastic Machine <elasticmachine@users.noreply.github.com>'
39
39
author : ' Elastic Machine <elasticmachine@users.noreply.github.com>'
40
40
- name : Pull Request Summary
41
41
if : ${{ steps.cpr.outputs.pull-request-url }}
42
42
run : |
43
- echo "${{ matrix.branch }} - ${{ steps.cpr.outputs.pull-request-url }}" >> $GITHUB_STEP_SUMMARY
43
+ echo "${{ env.BRANCH }} - ${{ steps.cpr.outputs.pull-request-url }}" >> $GITHUB_STEP_SUMMARY
0 commit comments