How the Material Symbols auto-update system works
mainThe automation system ensures the repository stays synchronized with the iconify Material Symbols repository through a scheduled or manual workflow.
1. Triggering
- Daily Schedule: Automatically runs every day at 2 AM UTC.
- Manual Trigger: Can be initiated via the GitHub Actions UI.
2. Detection Logic
The system compares the latest commit hash of json/material-symbols.json from the Iconify repository against a locally stored hash in .github/iconify-hash.txt.
- If the hashes match: No action is taken.
- If the hashes differ: An update is triggered.
3. Update Lifecycle
When an update is triggered, the system:
- Generates Icons: Downloads the latest JSON and generates SVGs for all 6 variants.
- Manages Versions: Updates
material_symbols.jsandmanifest.jsonusing aYYYY.MM.DDformat. - Updates Documentation: Refreshes the README with the new icon count.
- Commits Changes: Automatically performs a
git add,git commit, andgit pushwith a descriptive message (e.g.,🤖 Auto-update Material Symbols icons (v2025.08.23)).