Skip to content

update-readme

update-readme #3230

Workflow file for this run

name: update-readme
on:
push:
branches: [ "main" ]
schedule:
- cron: '0 */6 * * *'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: checkout repo content
uses: actions/checkout@v2
- name: setup python
uses: actions/setup-python@v2
with:
python-version: '3.10.8'
- name: install dependencies
run: |
python -m pip install --upgrade pip
pip install -r infrastructure/requirements.txt
- name: generate README
run: python infrastructure/run.py
- name: commit new README
run: |
git config --local user.email "action@github.com"
git config --local user.name "GitHub Action"
git add -A
git commit -m "Automatic creation of a solution table" -a
- name: push changes
uses: ad-m/github-push-action@v0.6.0
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: main