Skip to content

Commit 42e4e13

Browse files
Fix invalid access ain codeql file and ignore on doc-only changes (#653)
1 parent 20a9a19 commit 42e4e13

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/codeql.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,14 @@ name: "CodeQL"
33
on:
44
push:
55
branches: [ "main" ]
6+
paths-ignore:
7+
- 'docs/**'
8+
- '**/*.md'
69
pull_request:
710
branches: [ "main" ]
8-
11+
paths-ignore:
12+
- 'docs/**'
13+
- '**/*.md'
914
jobs:
1015
analyze:
1116
name: Analyze (${{ matrix.language }})
@@ -26,7 +31,7 @@ jobs:
2631
uses: github/codeql-action/init@v3
2732
with:
2833
languages: ${{ matrix.language }}
29-
build-mode: ${{ matrix.build-mode }}
34+
build-mode: none
3035
- name: Perform CodeQL Analysis
3136
uses: github/codeql-action/analyze@v3
3237
with:

0 commit comments

Comments
 (0)