Skip to content

Commit ce90b21

Browse files
committed
DisplayKit
1 parent cf80a55 commit ce90b21

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+3229
-678
lines changed
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
name: Update icon manifests
2+
3+
on:
4+
push:
5+
paths:
6+
- "icons/**"
7+
- "scripts/generate_icon_manifests.mjs"
8+
workflow_dispatch: {}
9+
10+
permissions:
11+
contents: write
12+
13+
jobs:
14+
generate:
15+
runs-on: ubuntu-latest
16+
steps:
17+
- name: Checkout
18+
uses: actions/checkout@v4
19+
20+
- name: Setup Node
21+
uses: actions/setup-node@v4
22+
with:
23+
node-version: "20"
24+
25+
- name: Generate manifests
26+
run: node scripts/generate_icon_manifests.mjs
27+
28+
- name: Commit changes (if any)
29+
run: |
30+
git config user.name "github-actions[bot]"
31+
git config user.email "github-actions[bot]@users.noreply.github.com"
32+
git add icons/manifest.json icons/manifest.js
33+
if git diff --cached --quiet; then
34+
echo "No changes to commit."
35+
exit 0
36+
fi
37+
git commit -m "chore: update icon manifests"
38+
git push
39+
40+

0 commit comments

Comments
 (0)