Skip to content

Commit 2170ba6

Browse files
Update codeql-analysis.yml
Avoid a code scan to trigger on specific pull requests targeted to only changes in a pull request, to ignore files with the file extensions .md or .txt
1 parent 60d2993 commit 2170ba6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ on:
55
branches: [ "main" ]
66
pull_request:
77
branches: [ "main" ]
8+
paths-ignore:
9+
- '**/*.md'
10+
- '**/*.txt'
811
schedule:
912
- cron: "0 2 * * 1" # Weekly Monday scan
1013

0 commit comments

Comments
 (0)