Skip to content

Commit a08d89b

Browse files
authored
[build] Make line check run only on main branch (#1617)
PR commit change check should run only against main branch, otherwise hotfix releases might fail.
1 parent ff4d028 commit a08d89b

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.github/pull_request_template.md

+2
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ Describe
1818
- What issues or limitations exist in the current code
1919
- Why this change is necessary
2020
-->
21+
22+
2123
## Solution
2224
<!--
2325
Describe

.github/workflows/limit-pr-files-changed.yml

+2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ name: Enforce Max Lines Changed Per File
22

33
on:
44
pull_request:
5+
branches:
6+
- main
57
paths:
68
- '**/*.java' # Monitor changes to Java files
79
- '**/*.avsc' # Monitor changes to Avro schema files

0 commit comments

Comments
 (0)