Skip to content

Commit eb722e6

Browse files
committed
chore: update
1 parent 7b463cd commit eb722e6

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/antlr-lint.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,11 @@ name: ANTLR Grammar Lint
1212
# - Token management best practices
1313

1414
on:
15-
# Trigger on push events that modify grammar files
15+
# Trigger on push events that modify grammar files (only on main/master branch)
1616
push:
17+
branches:
18+
- main
19+
- master
1720
paths:
1821
- '**/*.g4'
1922
- '.github/workflows/antlr-lint.yml' # Re-run if workflow itself changes

0 commit comments

Comments
 (0)