Update weekly status dashboards #30
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Update weekly status dashboards | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: '0 2 * * 3' | |
jobs: | |
dashboards: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out repo | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: 3.1.2 | |
- name: Update dashboard | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: | | |
gem install bundler | |
bundle install --jobs 4 --retry 3 | |
bundle exec rake insecure_triggers | |
- name: Commit changes | |
uses: EndBug/add-and-commit@v9 | |
with: | |
add: 'dashboards' |