Skip to content

Commit e4fe3c8

Browse files
authored
Skip CodeQL for file extensions like md, yml, xml (#117)
2 parents 9c0d318 + 11b99d0 commit e4fe3c8

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/codeql.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,17 @@ name: "CodeQL"
1414
on:
1515
push:
1616
branches: [ "master" ]
17+
paths-ignore:
18+
- '**/*.md'
19+
- '**/*.yml'
20+
- '**/*.xml'
1721
pull_request:
1822
# The branches below must be a subset of the branches above
1923
branches: [ "master" ]
24+
paths-ignore:
25+
- '**/*.md'
26+
- '**/*.yml'
27+
- '**/*.xml'
2028
schedule:
2129
- cron: '40 22 * * 2'
2230

@@ -51,7 +59,7 @@ jobs:
5159

5260
- uses: actions/setup-java@v3
5361
with:
54-
distribution: 'corretto'
62+
distribution: 'temurin'
5563
java-version: 17
5664

5765
# Initializes the CodeQL tools for scanning.

0 commit comments

Comments
 (0)