Automated icon update #751
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: 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/[email protected] | |
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 |