on:
pull_request:
- branches: [main]
- paths:
- - .github/codeql-config.yml
- - .github/codeql-custom.qls
- - .github/workflows/codeql-analysis.yml
- - .github/workflows/requirements.txt
- - .github/workflows/unit_tests.sh
- # It takes the workflow approximately 30 minutes to analyze the code base
- # so it doesn't seem to make much sense to trigger it on every PR or commit.
- # It runs daily at 01:00 to avoid colliding with the Coverity workflow.
- schedule:
- - cron: '0 1 * * *'
+ branches:
+ - main
+ - v[0-9]+-stable
permissions:
contents: read
strategy:
fail-fast: false
matrix:
- language: [ 'cpp', 'python' ]
+ language: ['cpp', 'python']
steps:
- name: Checkout repository