Add codeql workflow

This commit is contained in:
bryopsida 2022-06-24 08:26:09 -05:00
parent 1d45b0b351
commit ff2408a056
2 changed files with 32 additions and 0 deletions

31
.github/workflows/codeql.yml vendored Normal file
View File

@ -0,0 +1,31 @@
name: "CodeQL"
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
schedule:
- cron: '24 19 * * 3'
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
strategy:
fail-fast: false
matrix:
language: [ 'javascript', 'python' ]
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
- name: Autobuild
uses: github/codeql-action/autobuild@v2
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2

1
.gitignore vendored
View File

@ -15,3 +15,4 @@ web/node_modules
web/coverage
core
!/web/**/*.ts
.dccache