Skip to content

Automated icon update #587

Automated icon update

Automated icon update #587

Workflow file for this run

---
name: Automated icon update
on: # yamllint disable-line rule:truthy
schedule:
- cron: '23 1 * * *' # Runs at 01:23 UTC every day
workflow_dispatch:
jobs:
update-material-design-icons:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: 5yutan5/setup-poetry-env@v1.1.0
with:
python-version: '3.11'
poetry-install--only: main
- name: Download latest svg and update style
run: |
poetry run python -c \
"from tools import material_icons; material_icons.update_icons()"
poetry run python -m tools.build_styles
- uses: peter-evans/create-pull-request@v4
with:
token: ${{ secrets.PAT }}
commit-message: Update material design icons
title: Automated update material design icons
body: This is an auto-generated PR with icon updates.
branch: auto-update-svg