Skip to content

Commit 910862b

Browse files
ci: trigger icon regeneration on merge instead of cron
1 parent 913eb3b commit 910862b

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

‎.github/workflows/regenerate-icons.yml‎

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
name: Regenerate Icons
22

33
on:
4-
schedule:
5-
- cron: "0 6 * * 1" # weekly, Monday 6am UTC
4+
push:
5+
branches: [main]
6+
paths:
7+
- "pnpm-lock.yaml"
8+
- "scripts/generate-icons.ts"
69
workflow_dispatch: # allow manual trigger
710

811
jobs:

0 commit comments

Comments
 (0)