Skip to content

Commit d04b0c9

Browse files
authored
Merge pull request #88 from codethechange/security-scanning
Add CodeQL Security Scanning Workflow
2 parents 495d75b + a04d7ba commit d04b0c9

1 file changed

Lines changed: 35 additions & 0 deletions

File tree

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

0 commit comments

Comments
 (0)