Skip to content

Commit df0e5da

Browse files
committed
ci: Limit workflow triggers to source files only
Configure build-release.yml to only run on: - Java source file changes (**.java) - Workflow file changes This prevents unnecessary builds when updating documentation files like README.md or other non-source files.
1 parent 87cebc0 commit df0e5da

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/build-release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ on:
44
push:
55
branches:
66
- main
7+
paths:
8+
- '**.java'
9+
- '.github/workflows/build-release.yml'
710
workflow_dispatch:
811
inputs:
912
version:

0 commit comments

Comments
 (0)