Skip to content

five changes

five changes #1

name: Generate README
on:
push:
branches:
- main
jobs:
generate-readme:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
- name: Generate README
run: |
python generate_readme.py
- name: Commit README
run: |
git config --local user.email "[email protected]"
git config --local user.name "GitHub Action"
git add README.md
git commit -m "Update README.md" || echo "No changes to commit"
git push