Skip to content

Commit e9c14a1

Browse files
authored
Add CodeQL scanning workflow
1 parent de137f8 commit e9c14a1

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: "CodeQL"
2+
3+
on:
4+
push:
5+
schedule:
6+
- cron: '35 10 * * 2'
7+
8+
jobs:
9+
analyze:
10+
name: Analyze
11+
runs-on: ubuntu-latest
12+
13+
strategy:
14+
fail-fast: false
15+
matrix:
16+
language: [ 'javascript' ]
17+
18+
steps:
19+
- name: Checkout repository
20+
uses: actions/checkout@v3
21+
22+
# Initializes the CodeQL tools for scanning.
23+
- name: Initialize CodeQL
24+
uses: github/codeql-action/init@v2
25+
with:
26+
languages: ${{ matrix.language }}
27+
- name: Autobuild
28+
uses: github/codeql-action/autobuild@v2
29+
- name: Perform CodeQL Analysis
30+
uses: github/codeql-action/analyze@v2

0 commit comments

Comments
 (0)