mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-08-24 00:00:46 +00:00
3574269d96
Folders can now be configured as branch-specific items in wmill.yaml:
```yaml
gitBranches:
staging:
specificItems:
folders:
- "f/env_*"
- "u/admin/config"
```
This allows different folder configurations per branch. A folder like
`f/env_staging/folder.meta.yaml` becomes `f/env_staging.main/folder.meta.yaml`
on the main branch.
Changes:
- Add `folders?: string[]` to SpecificItemsConfig
- Add folder detection in isSpecificItem()
- Add folder pattern to toBranchSpecificPath/fromBranchSpecificPath
- Add folder pattern to isBranchSpecificFile/isCurrentBranchFile
- Add 8 new tests for folder functionality
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>