Skip to content

Commit e7e73d4

Browse files
authored
Merge pull request #485 from ligangty/master
Avoid non source code files to trigger the merging action
2 parents 4bd0b82 + b3b97ff commit e7e73d4

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/maven-build.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,17 @@ on:
2424
push:
2525
branches:
2626
- master
27+
# We should only let the source code files to trigger the push action
28+
# to avoid meaningless snapshot pushing to sonatype
29+
paths:
30+
- 'api/**'
31+
- 'caches/**'
32+
- 'cdi-embedder/**'
33+
- 'core/**'
34+
- 'maven/**'
35+
- 'testing/**'
36+
- 'transports/**'
37+
- 'pom.xml'
2738

2839
workflow_dispatch:
2940

0 commit comments

Comments
 (0)