Skip to content

Commit 81fc696

Browse files
committed
fixup
1 parent f81c773 commit 81fc696

File tree

1 file changed

+6
-10
lines changed

1 file changed

+6
-10
lines changed

.github/workflows/report.yml

+6-10
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,6 @@ on:
77
jobs:
88
generate_report:
99
runs-on: ubuntu-latest
10-
strategy:
11-
matrix:
12-
branch:
13-
- '8.16'
1410
steps:
1511
- uses: actions/checkout@v4
1612
with:
@@ -24,7 +20,7 @@ jobs:
2420
echo "REPORT_DATE=`date "+%Y-%m-%d|%H:%M:%S"`" >> $GITHUB_ENV
2521
env:
2622
STACK_VERSION: 8.16.4-SNAPSHOT
27-
BRANCH: ${{ matrix.branch }} # Branch for downloading the specs
23+
BRANCH: '8.16' # Branch for downloading the specs
2824
- name: Download Artifacts
2925
run: cd report && bundle exec rake download_all
3026
- name: Generate report
@@ -34,14 +30,14 @@ jobs:
3430
id: cpr
3531
with:
3632
token: ${{ secrets.GITHUB_TOKEN }}
37-
commit-message: Updates API report ${{env.REPORT_DATE}} ${{ matrix.branch }}
38-
branch: update_report_${{ matrix.branch }}
39-
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 }}
4036
body: 'As titled'
41-
base: ${{ matrix.branch }}
37+
base: ${{ env.BRANCH }}
4238
committer: 'Elastic Machine <elasticmachine@users.noreply.github.com>'
4339
author: 'Elastic Machine <elasticmachine@users.noreply.github.com>'
4440
- name: Pull Request Summary
4541
if: ${{ steps.cpr.outputs.pull-request-url }}
4642
run: |
47-
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

Comments
 (0)