Skip to content

Adds GitHub Action to generate report #2

Adds GitHub Action to generate report

Adds GitHub Action to generate report #2

Workflow file for this run

name: report
on:
workflow_dispatch
push:

Check failure on line 4 in .github/workflows/report.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/report.yml

Invalid workflow file

You have an error in your yaml syntax on line 4
branches:
- main
pull_request:
branches:
- main
jobs:
generate_report:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
persist-credentials: false
- uses: ruby/setup-ruby@v1
with:
ruby-version: 3.3
env:
STACK_VERSION: 8.13.0-SNAPSHOT
- name: Build
run: |
bundle install
- name: Download Artifacts
run: bundle exec rake download
- name: Generate report
run: bundle exec rake report
- uses: gr2m/create-or-update-pull-request-action@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
commit-message: "Updates report `date '+%Y-%m-%d|%H:%M:%S'`"