Skip to content

Commit 20b42d6

Browse files
committed
Adds GitHub Action to generate report
1 parent 7ee6e1a commit 20b42d6

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

.github/workflows/report.yml

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: report
2+
on:
3+
workflow_dispatch
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
branches:
9+
- main
10+
jobs:
11+
generate_report:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v3
15+
with:
16+
persist-credentials: false
17+
- uses: ruby/setup-ruby@v1
18+
with:
19+
ruby-version: 3.3
20+
env:
21+
STACK_VERSION: 8.13.0-SNAPSHOT
22+
- name: Build
23+
run: |
24+
bundle install
25+
- name: Download Artifacts
26+
run: bundle exec rake download
27+
- name: Generate report
28+
run: bundle exec rake report
29+
- uses: gr2m/create-or-update-pull-request-action@v1
30+
env:
31+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
32+
with:
33+
commit-message: "Updates report `date '+%Y-%m-%d|%H:%M:%S'`"

0 commit comments

Comments
 (0)