Skip to content

Commit d9dc07c

Browse files
authored
Add CodeQL security scan (#1971)
1 parent f70a464 commit d9dc07c

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

.github/workflows/codeql-analysis.yml

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: "Code Scanning - Action"
2+
3+
on:
4+
workflow_dispatch:
5+
schedule:
6+
- cron: '30 1 * * *'
7+
8+
jobs:
9+
CodeQL-Build:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- name: Checkout repository
14+
uses: actions/checkout@v2
15+
16+
- name: Initialize CodeQL
17+
uses: github/codeql-action/init@v1
18+
with:
19+
languages: java
20+
21+
- name: Setup Java 11
22+
uses: actions/setup-java@v1
23+
with:
24+
java-version: 11
25+
26+
- name: Autobuild
27+
uses: github/codeql-action/autobuild@v1
28+
29+
- name: Perform CodeQL Analysis
30+
uses: github/codeql-action/analyze@v1

0 commit comments

Comments
 (0)