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

32 lines
712 B
YAML
Raw Permalink Normal View History

2021-09-25 19:14:00 +00:00
name: "CodeQL"
on:
push:
branches:
- master
2021-09-25 19:14:00 +00:00
pull_request:
branches:
- master
2021-09-25 19:14:00 +00:00
schedule:
- cron: "33 0 * * 3"
2021-09-25 19:14:00 +00:00
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
strategy:
fail-fast: false
matrix:
language: ["javascript", "python"]
2021-09-25 19:14:00 +00:00
steps:
- uses: actions/checkout@v4
- uses: github/codeql-action/init@v3
with:
config-file: ./.github/codeql/codeql-config.yml
languages: ${{ matrix.language }}
setup-python-dependencies: false
- uses: ./.github/actions/setup
- uses: github/codeql-action/analyze@v3