We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents bb2e8cd + d391100 commit 990a634Copy full SHA for 990a634
1 file changed
.github/workflows/codeql.yml
@@ -34,19 +34,17 @@ jobs:
34
path: go-git
35
fetch-depth: 0
36
37
- - name: Copy CodeQL queries to go-git
38
- run: cp -r codeql go-git/
39
-
40
- name: Initialize CodeQL
41
uses: github/codeql-action/init@68bde559dea0fdcac2102bfdf6230c5f70eb485e # v4.35.4
42
with:
43
languages: go
44
- source-root: go-git
45
- config-file: go-git/codeql/codeql-config.yml
46
- checkout-path: go-git
+ config: |
+ paths:
+ - go-git
+ queries:
+ - uses: ./codeql/queries/unclosed-resources.ql
47
48
- name: Perform CodeQL Analysis
49
uses: github/codeql-action/analyze@68bde559dea0fdcac2102bfdf6230c5f70eb485e # v4.35.4
50
51
category: go-git-custom-queries
52
0 commit comments