Enhance branch filters in build workflow

This commit is contained in:
D1GQ authored and GitHub committed 2026-01-10 08:48:59 -06:00
1 parent a0c045c2ff
commit 1ec4486357
1 file changed
+12 -4
+12 -4
View File
@@ -2,13 +2,21 @@ name: Build
on:
push:
branches: [ main, dev ]
branches:
- 'main'
- '*-hotfix'
- '*-beta'
- '*-dev'
paths:
- 'src/**' # Only trigger when files in the 'src' folder change
- 'src/**'
pull_request:
branches: [ main ]
branches:
- 'main'
- '*-hotfix'
- '*-beta'
- '*-dev'
paths:
- 'src/**' # Apply same filter to pull requests
- 'src/**'
jobs:
build-mod: