File tree Expand file tree Collapse file tree 1 file changed +8
-9
lines changed
Expand file tree Collapse file tree 1 file changed +8
-9
lines changed Original file line number Diff line number Diff line change @@ -31,18 +31,17 @@ jobs:
3131 id : changes
3232 with :
3333 filters : |
34- relevant_files:
35- # Files processed by Codacy Coverage Variation
36- - "src/main/**"
34+ has_code_changes:
35+ - "src/main/**/*.java"
3736 # Excluded files from Codacy Coverage Variation
38- - "!**/*.md"
39- - "! **/*.yml "
40- - "!.codacy .yml"
41- - "! .github/**"
37+ has_non_coverable_changes:
38+ - "**/*.md "
39+ - "**/* .yml"
40+ - ".github/**"
4241
43- # Bypass the 'Codacy Coverage Variation' when there are no relevant files able to trigger it.
42+ # Bypass the 'Codacy Coverage Variation' when there are no coverable files able to trigger it.
4443 - name : Create Success Check for Variation
45- if : steps.changes.outputs.relevant_files == 'false'
44+ if : steps.changes.outputs.has_code_changes == 'false' && steps.changes.outputs.has_non_coverable_changes == 'true '
4645 uses : actions/github-script@v7
4746 with :
4847 script : |
You can’t perform that action at this time.
0 commit comments