File tree 1 file changed +14
-5
lines changed
1 file changed +14
-5
lines changed Original file line number Diff line number Diff line change @@ -27,10 +27,19 @@ jobs:
27
27
run : cd report && bundle exec rake download_all
28
28
- name : Generate report
29
29
run : cd report && bundle exec rake report
30
- - uses : gr2m/create-or-update-pull-request-action@v1
31
- env :
32
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
30
+ - name : Create Pull Request
31
+ uses : peter-evans/create-pull-request@v6
32
+ id : cpr
33
33
with :
34
- commit-message : Updates API report ${{env.REPORT_DATE}}
35
- title : Updates API report
34
+ token : ${{ secrets.GITHUB_TOKEN }}
35
+ commit-message : Updates API report ${{env.REPORT_DATE}} ${{ matrix.branch }}
36
+ branch : update_report_${{ matrix.branch }}
37
+ title : Updates API report ${{ matrix.branch }}
38
+ body : ' As titled'
39
+ base : ${{ matrix.branch }}
40
+ committer : ' Elastic Machine <elasticmachine@users.noreply.github.com>'
36
41
author : ' Elastic Machine <elasticmachine@users.noreply.github.com>'
42
+ - name : Pull Request Summary
43
+ if : ${{ steps.cpr.outputs.pull-request-url }}
44
+ run : |
45
+ echo "${{ matrix.branch }} - ${{ steps.cpr.outputs.pull-request-url }}" >> $GITHUB_STEP_SUMMARY
You can’t perform that action at this time.
0 commit comments