Skip to content

update-readme

update-readme #3682

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 "[email protected]"
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/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: main