Skip to content

Release 0.8.0

Release 0.8.0 #30

Workflow file for this run

name: CodeQL
on:
push:
branches: [main]
pull_request:
branches: [main]
schedule:
# Weekly full scan, Monday 03:00 UTC
- cron: '0 3 * * 1'
permissions:
contents: read
security-events: write
actions: read
jobs:
analyse:
name: Analyse (${{ matrix.language }})
runs-on: ubuntu-latest
timeout-minutes: 20
strategy:
fail-fast: false
matrix:
# python: the package under src/ and the tests
# actions: the workflows themselves
language: [python, actions]
steps:
- name: Checkout
uses: actions/checkout@v7
# Neither language is compiled, so there is nothing to build before analysis.
- name: Initialise CodeQL
uses: github/codeql-action/init@v4
with:
languages: ${{ matrix.language }}
build-mode: none
# security-and-quality catches both vulnerability patterns and bad practices
queries: security-and-quality
- name: Perform CodeQL analysis
uses: github/codeql-action/analyze@v4
with:
category: /language:${{ matrix.language }}