Skip to content

Commit 4b03441

Browse files
authored
ignore github-related and markdown for tests and codeql
1 parent 5e219fe commit 4b03441

File tree

2 files changed

+21
-6
lines changed

2 files changed

+21
-6
lines changed

.github/workflows/codeql.yml

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,25 @@
33
#
44
# You may wish to alter this file to override the set of languages analyzed,
55
# or to provide custom queries or build logic.
6-
#
7-
# ******** NOTE ********
8-
# We have attempted to detect the languages in your repository. Please check
9-
# the `language` matrix defined below to confirm you have the correct set of
10-
# supported CodeQL languages.
11-
#
6+
127
name: "CodeQL"
138

149
on:
1510
push:
1611
branches: [ "master" ]
12+
paths-ignore:
13+
- '**/*.md'
14+
- '**/*.txt'
15+
- '.github/**'
16+
- '**/.gitignore'
1717
pull_request:
1818
# The branches below must be a subset of the branches above
1919
branches: [ "master" ]
20+
paths-ignore:
21+
- '**/*.md'
22+
- '**/*.txt'
23+
- '.github/**'
24+
- '**/.gitignore'
2025
schedule:
2126
- cron: '30 19 * * 0'
2227

.github/workflows/tests.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,19 @@ on:
44
push:
55
branches:
66
- master
7+
paths-ignore:
8+
- '**/*.md'
9+
- '**/*.txt'
10+
- '.github/**'
11+
- '**/.gitignore'
712
pull_request:
813
branches:
914
- master
15+
paths-ignore:
16+
- '**/*.md'
17+
- '**/*.txt'
18+
- '.github/**'
19+
- '**/.gitignore'
1020

1121
defaults:
1222
run:

0 commit comments

Comments
 (0)