mybuddy/.github/workflows/codeql-analysis.yml

34 lines
720 B
YAML

name: "CodeQL"
on:
push:
branches:
- master
- v2
pull_request:
branches:
- master
- v2
schedule:
- cron: '33 0 * * 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:
- uses: actions/checkout@v3
- uses: github/codeql-action/init@v2
with:
config-file: ./.github/codeql/codeql-config.yml
languages: ${{ matrix.language }}
setup-python-dependencies: false
- uses: ./.github/actions/setup
- uses: github/codeql-action/analyze@v2