Update Icons #26458
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: Update Icons | |
on: | |
schedule: | |
- cron: "*/10 * * * *" | |
workflow_dispatch: | |
jobs: | |
run-bot: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
strategy: | |
matrix: | |
node: [18.x] | |
steps: | |
- name: 𧱠Checkout repository | |
uses: actions/checkout@v4 | |
- name: π© Setup PNPM | |
uses: pnpm/action-setup@v2 | |
with: | |
version: latest | |
- name: π© Setup Node ${{ matrix.node }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node }} | |
cache: "pnpm" | |
- name: π Install dependencies | |
run: pnpm install | |
- name: β¨ Remove icons | |
run: pnpm app:remove | |
- name: βοΈ Commit Changes (removed icons) | |
uses: stefanzweifel/git-auto-commit-action@v4 | |
with: | |
commit_message: "[β¨] removed icons" | |
branch: ${{ github.head_ref }} | |
commit_user_name: binary-blazer | |
commit_user_email: jonasfranke@sdevs.org | |
- name: π Generate new icons | |
run: pnpm app:generate | |
- name: βοΈ Commit Changes (generated icons) | |
uses: stefanzweifel/git-auto-commit-action@v4 | |
with: | |
commit_message: "[π] updated icons" | |
branch: ${{ github.head_ref }} | |
commit_user_name: binary-blazer | |
commit_user_email: jonasfranke@sdevs.org |