Skip to content

Commit d60efee

Browse files
committed
feat: add merge group trigger to CI and include glow parameter in validation schema
1 parent e1f0c22 commit d60efee

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ on:
55
branches: [main, dev]
66
pull_request:
77
branches: [main, dev]
8+
merge_group: # Run CI on the merged commit before it lands on main
89

910
jobs:
1011
quality:

lib/validations.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -250,6 +250,8 @@ const baseStreakParamsSchema = z.object({
250250
.string()
251251
.optional()
252252
.transform((val) => val === 'true' || val === '1'),
253+
// Glow effect — on by default. Accepts 'true'/'1' (true) or 'false' (false).
254+
glow: z.string().optional().transform(toBooleanFlag).default(true),
253255
entrance: z.enum(['rise', 'fade', 'slide', 'none']).catch('rise').default('rise'),
254256

255257
// layout parameter: strictly validated — unsupported values return a 400 Bad Request.

0 commit comments

Comments
 (0)