Add CodeQL analysis
This commit is contained in:
22
.github/workflows/analysis.yml
vendored
Normal file
22
.github/workflows/analysis.yml
vendored
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
name: Analysis
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [master]
|
||||||
|
pull_request:
|
||||||
|
branches: [master]
|
||||||
|
schedule:
|
||||||
|
- cron: 0 0 * * *
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
analyze:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
- name: Setup
|
||||||
|
uses: github/codeql-action/init@v1
|
||||||
|
with:
|
||||||
|
languages: javascript
|
||||||
|
- name: Analyze
|
||||||
|
uses: github/codeql-action/analyze@v1
|
||||||
Reference in New Issue
Block a user