Skip to content

Generate rotation

Generate rotation #215

Workflow file for this run

name: Generate rotation
on:
push:
branches:
- main
schedule:
- cron: '0 0 * * 1' # every Monday at midnight
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'
cache: 'pip'
- name: Install dependencies
run: |
pip install -r requirements.txt
- name: Generate report
env:
PERF_TRIAGE_BOT_CACHED_USER_SECRETS: ${{ secrets.PERF_TRIAGE_BOT_CACHED_USER_SECRETS }}
run: |
python rotation.py --production --debug
- name: Push results
run: |
git add docs/index.html rotations.pickle
git config --global user.email "[email protected]"
git config --global user.name "GitHub Action"
git commit -m 'update'
git push