Skip to content

Commit a37cf05

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

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

.github/workflows/report.yml

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
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+
- name: Build
21+
run: |
22+
bundle install
23+
- name: Download Artifacts
24+
run: bundle exec rake download
25+
- name: Generate report
26+
run: bundle exec rake report
27+
- uses: gr2m/create-or-update-pull-request-action@v1
28+
env:
29+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
30+
with:
31+
commit-message: "Updates report `date '+%Y-%m-%d|%H:%M:%S'`"

0 commit comments

Comments
 (0)