feat: watch paths only trigger builds when changed files match configured globs by Flo4604 · Pull Request #5332 · unkeyed/unkey

chronark

chronark

@Flo4604 Flo4604 changed the title feat: watch paths — only trigger builds when changed files match configured globs feat: watch paths only trigger builds when changed files match configured globs

Mar 17, 2026

@Flo4604 Flo4604 marked this pull request as ready for review

March 17, 2026 14:11

coderabbitai[bot]

…igured globs

Adds watch_paths JSON column to app_build_settings. When configured with
glob patterns (e.g. "src/**/*.go"), pushes that don't touch matching files
create a skipped deployment record and skip the build. Empty array (default)
preserves existing behavior.

- Parse added/removed/modified file lists from GitHub push webhook payload
- Pass changed_files through Restate proto to the push handler
- New pkg/match package with MatchWatchPaths using doublestar/v4 for ** support
- Add skipped status to deployments enum for visible skip records
- Dashboard UI: tag-style multi-value input for configuring watch path patterns
- tRPC mutation + collection wiring for persisting watch paths

@Flo4604

@Flo4604

@Flo4604

ogzhanolguncu

chronark

@Flo4604