Skip to content

Update Main README.md #13

Update Main README.md

Update Main README.md #13

name: Update Blueprints
on:
schedule:
- cron: '0 0 * * *' # Every day at midnight
workflow_dispatch: # Allow manual triggering of the workflow
permissions:
contents: write # Grant write permissions
jobs:
update-blueprints:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Run update script
run: python scripts/update_blueprints.py
- name: Commit changes
env:
GIT_AUTHOR_EMAIL: [email protected]
GIT_AUTHOR_NAME: GitHub Action
GIT_COMMITTER_EMAIL: [email protected]
GIT_COMMITTER_NAME: GitHub Action
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
git config --global user.email "[email protected]"
git config --global user.name "GitHub Action"
git add README.md
git commit -m "Update blueprint list"
git push