Skip to content

Commit df4f06a

Browse files
committed
ci: only run license check if dependencies changed
1 parent ec97899 commit df4f06a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/licensecheck.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,13 @@ on: # https://docs.github.com/en/actions/reference/workflows-and-actions/events
77
- 'dependabot/**' # prevent GHA triggered twice (once for commit to the branch and once for opening/syncing the PR)
88
tags-ignore: # don't build tags
99
- '**'
10+
paths:
11+
- '**/pom.xml'
12+
- '**/*.target'
1013
pull_request:
14+
paths:
15+
- '**/pom.xml'
16+
- '**/*.target'
1117
workflow_dispatch:
1218
# https://docs.github.com/en/actions/reference/workflows-and-actions/events-that-trigger-workflows#workflow_dispatch
1319
inputs:

0 commit comments

Comments
 (0)