Skip to content

Commit b6ca492

Browse files
XhmikosRJustinBeckwith
andauthoredJan 10, 2021
build: add CodeQL scanning (#234)
Co-authored-by: Justin Beckwith <beckwith@google.com>
1 parent 105d783 commit b6ca492

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed
 

‎.github/workflows/codeql.yml

+34
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: "CodeQL"
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
- "!renovate/**"
8+
pull_request:
9+
# The branches below must be a subset of the branches above
10+
branches:
11+
- master
12+
schedule:
13+
- cron: "0 0 * * 0"
14+
15+
jobs:
16+
analyze:
17+
name: Analyze
18+
runs-on: ubuntu-latest
19+
20+
steps:
21+
- name: Checkout repository
22+
uses: actions/checkout@v2
23+
24+
# Initializes the CodeQL tools for scanning.
25+
- name: Initialize CodeQL
26+
uses: github/codeql-action/init@v1
27+
with:
28+
languages: "javascript"
29+
30+
- name: Autobuild
31+
uses: github/codeql-action/autobuild@v1
32+
33+
- name: Perform CodeQL Analysis
34+
uses: github/codeql-action/analyze@v1

0 commit comments

Comments
 (0)
Please sign in to comment.