Skip to content

Update templates

Update templates #374

name: Update templates
on:
push:
branches: [main]
paths:
- '.github/workflows/update_templates.yml'
- 'scripts/**'
- 'template.json'
# Run every day
schedule:
- cron: "0 0 * * *"
permissions:
contents: write
jobs:
update_templates:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
ref: ${{ github.head_ref }}
- uses: actions/setup-python@v4
- run: python scripts/main.py
- uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: Update template lists