Skip to content

Commit 4c60ea5

Browse files
committed
Add CodeQL workflow
1 parent 9f2e039 commit 4c60ea5

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

.github/workflows/codeql.yaml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: "CodeQL"
2+
on:
3+
workflow_dispatch:
4+
5+
permissions:
6+
actions: read
7+
contents: read
8+
security-events: write
9+
10+
jobs:
11+
analyze:
12+
name: "Analyze"
13+
runs-on: ubuntu-latest
14+
15+
steps:
16+
- name: Checkout repository
17+
uses: actions/checkout@v2
18+
19+
- name: Download custom bundle
20+
env:
21+
GH_TOKEN: ${{ github.token }}
22+
run: |
23+
gh release download --pattern 'codeql-bundle.tar.gz'
24+
25+
- name: CodeQL Initialize
26+
uses: github/codeql-action/init@v1
27+
with:
28+
tools: codeql-bundle.tar.gz
29+
30+
- name: CodeQL Analyze
31+
uses: github/codeql-action/analyze@v1

0 commit comments

Comments
 (0)