2021-09-25 19:14:00 +00:00
|
|
|
name: "CodeQL"
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches: [ master ]
|
|
|
|
pull_request:
|
|
|
|
branches: [ master ]
|
|
|
|
schedule:
|
|
|
|
- cron: '33 0 * * 3'
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
analyze:
|
|
|
|
name: Analyze
|
|
|
|
runs-on: ubuntu-latest
|
2021-11-07 21:08:01 +00:00
|
|
|
env:
|
|
|
|
PIPENV_VENV_IN_PROJECT: enabled
|
2021-09-25 19:14:00 +00:00
|
|
|
permissions:
|
|
|
|
actions: read
|
|
|
|
contents: read
|
|
|
|
security-events: write
|
|
|
|
|
|
|
|
strategy:
|
|
|
|
fail-fast: false
|
|
|
|
matrix:
|
|
|
|
language: [ 'javascript', 'python' ]
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: Checkout repository
|
|
|
|
uses: actions/checkout@v2
|
2021-09-25 20:16:11 +00:00
|
|
|
|
|
|
|
- name: Install dependencies
|
|
|
|
run: |
|
|
|
|
export PATH="$HOME/.local/bin:$PATH"
|
|
|
|
python3 -m pip install --upgrade pipenv wheel
|
2021-11-07 21:08:01 +00:00
|
|
|
pipenv install --dev
|
2021-09-25 19:14:00 +00:00
|
|
|
|
|
|
|
- name: Initialize CodeQL
|
|
|
|
uses: github/codeql-action/init@v1
|
|
|
|
with:
|
2021-09-25 20:16:11 +00:00
|
|
|
config-file: ./.github/codeql/codeql-config.yml
|
2021-09-25 19:14:00 +00:00
|
|
|
languages: ${{ matrix.language }}
|
2021-09-25 20:16:11 +00:00
|
|
|
setup-python-dependencies: false
|
2021-09-25 19:14:00 +00:00
|
|
|
|
|
|
|
- name: Perform CodeQL Analysis
|
|
|
|
uses: github/codeql-action/analyze@v1
|