Skip to content

Generate SVGs

Generate SVGs #41

name: Generate SVGs
on:
schedule:
- cron: "0 * * * *" # toutes les heures
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: Install deps
run: |
pip install requests
pip install common
pip install github_data
- name: Generate SVGs
run: python .github/generated_svgs/generate_issue_cards.py
- name: Commit & push
run: |
git config user.name "github-actions"
git config user.email "github-actions@github.com"
git add .github/generated_svgs
git commit -m "Update SVGs" || echo "No changes"
git push