File tree Expand file tree Collapse file tree 1 file changed +6
-8
lines changed
Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -22,18 +22,16 @@ jobs:
2222 bypass_check :
2323 runs-on : ubuntu-latest
2424 steps :
25-
26- # Verify if there are changes on relevant files
27- # relevant_files will be:
28- # - 'true' when there is at least one file that will trigger the 'Codacy Coverage Variation' check
29- # - will be false otherwise.
30- - uses : dorny/paths-filter@v3
25+
26+ # Verifies which kind of files have changes.
27+ # 'has_code_changes' will be true if any java source file is modified.
28+ # 'has_non_coverable_changes' will be true if there is any Markdown, YAML file or any other kind of non coverable file.
29+ - uses : dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2
3130 id : changes
3231 with :
3332 filters : |
3433 has_code_changes:
3534 - "src/main/**/*.java"
36- # Excluded files from Codacy Coverage Variation
3735 has_non_coverable_changes:
3836 - "**/*.md"
3937 - "**/*.yml"
4240 # Bypass the 'Codacy Coverage Variation' when there are no coverable files able to trigger it.
4341 - name : Create Success Check for Variation
4442 if : steps.changes.outputs.has_code_changes == 'false' && steps.changes.outputs.has_non_coverable_changes == 'true'
45- uses : actions/github-script@v7
43+ uses : actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7.1.0
4644 with :
4745 script : |
4846 const checkName = 'Codacy Coverage Variation';
You can’t perform that action at this time.
0 commit comments