File tree 1 file changed +14
-9
lines changed
1 file changed +14
-9
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'
12
9
jobs :
13
10
generate_report :
14
11
runs-on : ubuntu-latest
15
12
strategy :
16
13
matrix :
17
14
branch :
18
- - main
15
+ - ' main'
19
16
- ' 8.x'
20
17
- ' 8.17'
21
18
- ' 8.16'
@@ -38,11 +35,19 @@ jobs:
38
35
run : cd report && bundle exec rake download_all
39
36
- name : Generate report
40
37
run : cd report && bundle exec rake report
41
- - uses : gr2m/create-or-update-pull-request-action@v1
42
- env :
43
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
38
+ - name : Create Pull Request
39
+ uses : peter-evans/create-pull-request@v6
40
+ id : cpr
44
41
with :
42
+ token : ${{ secrets.GITHUB_TOKEN }}
45
43
commit-message : Updates API report ${{env.REPORT_DATE}} ${{ matrix.branch }}
46
- title : Updates API report
44
+ branch : update_report_${{ matrix.branch }}
45
+ title : Updates API report ${{ matrix.branch }}
46
+ body : ' As titled'
47
+ base : ${{ matrix.branch }}
48
+ committer : ' Elastic Machine <elasticmachine@users.noreply.github.com>'
47
49
author : ' Elastic Machine <elasticmachine@users.noreply.github.com>'
48
- branch : ${{ matrix.branch }}
50
+ - name : Pull Request Summary
51
+ if : ${{ steps.cpr.outputs.pull-request-url }}
52
+ run : |
53
+ echo "${{ matrix.branch }} - ${{ steps.cpr.outputs.pull-request-url }}" >> $GITHUB_STEP_SUMMARY
You can’t perform that action at this time.
0 commit comments