Skip to content

Add GitHub Action to Update README with YAML Template Files #1

Add GitHub Action to Update README with YAML Template Files

Add GitHub Action to Update README with YAML Template Files #1

Workflow file for this run

name: Update README with Templates
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
update-readme:
runs-on: ubuntu-latest
steps:
- name: Checkout the repository
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Run Python script to update README
run: python .github/scripts/update-readme.py
- name: Commit changes
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: Update README table
commit_user_name: GitHub Actions
commit_user_email: github-actions[bot]@users.noreply.github.com
branch: main
file_pattern: README.md