Skip to content
11 changes: 9 additions & 2 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@ name: "CodeQL"

on:
push:
branches: [ master, stable ]
branches: [ master, stable, feature-flake8-87 ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ stable ]
schedule:
- cron: '17 5 * * 1'

# Declare default permissions as read only.
permissions: read-all
permissions: {}

jobs:
analyze:
Expand Down Expand Up @@ -71,6 +71,13 @@ jobs:
#- run: |
# make bootstrap
# make release
- name: Flake8 Scan
uses: reactive-firewall/flake8-cq@5a4f0f0e90a5c94b3f0fa1e659f2ec565b76be35 # v1.6a0
with: # optional arguments
config: '.flake8.ini'
match: '**/*.py'
publish-artifacts: false
if: ${{ success() }}

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
Loading