Skip to content

DisplayKit

DisplayKit #1

name: Update icon manifests
on:
push:
paths:
- "icons/**"
- "scripts/generate_icon_manifests.mjs"
workflow_dispatch: {}
permissions:
contents: write
jobs:
generate:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: "20"
- name: Generate manifests
run: node scripts/generate_icon_manifests.mjs
- name: Commit changes (if any)
run: |
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
git add icons/manifest.json icons/manifest.js
if git diff --cached --quiet; then
echo "No changes to commit."
exit 0
fi
git commit -m "chore: update icon manifests"
git push