Added new icons, refreshed some older ones #24
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Update README with Icons Table | |
on: | |
push: | |
paths: | |
- "Icons/**" # Trigger on changes in the Icons folder | |
workflow_dispatch: # Allows manual runs | |
jobs: | |
update-readme: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Install Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.x' | |
- name: Generate Icons Table and Update README | |
run: | | |
# Combine readmehead.md and the generated table into README.md | |
python3 scripts/generate_readme.py | |
- name: Commit and push changes | |
run: | | |
git config --local user.email "actions@github.com" | |
git config --local user.name "GitHub Action" | |
git add README.md | |
git commit -m "Auto-update README with icons" | |
git push | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |