Skip to content

Commit

Permalink
💚 add codeql config
Browse files Browse the repository at this point in the history
Signed-off-by: Rintaro Okamura <[email protected]>
  • Loading branch information
rinx committed Jul 1, 2020
1 parent 58ac8c1 commit 30395c0
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/codeql/codeql-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
name: "Go CodeQL config"
queries:
- uses: security-and-quality
- uses: github/codeql-go/ql/[email protected]

paths:
- '/cmd'
- '/hack'
- '/internal'
- '/pkg'
2 changes: 2 additions & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ on:
- 'v*.*.*-*'
pull_request:
paths:
- '.github/workflows/codeql-analysis.yml'
- '**.go'
schedule:
- cron: '0 1 * * 2'
Expand Down Expand Up @@ -39,6 +40,7 @@ jobs:
uses: github/codeql-action/init@v1
with:
languages: go
config-file: ./.github/codeql/codeql-config.yaml
- name: Autobuild
uses: github/codeql-action/autobuild@v1
- name: Perform CodeQL Analysis
Expand Down

0 comments on commit 30395c0

Please sign in to comment.