Skip to content

Commit fc741a4

Browse files
[MERGE] branch 'feature-flake8-87-1' into feature-flake8-87
* feature-flake8-87-1: [FEATURE] add flak8-cq to codeql-analysis.yml
2 parents a0a0ccf + ea4070d commit fc741a4

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,15 @@ name: "CodeQL"
1313

1414
on:
1515
push:
16-
branches: [ master, stable ]
16+
branches: [ master, stable, feature-flake8-87 ]
1717
pull_request:
1818
# The branches below must be a subset of the branches above
1919
branches: [ stable ]
2020
schedule:
2121
- cron: '17 5 * * 1'
2222

2323
# Declare default permissions as read only.
24-
permissions: read-all
24+
permissions: {}
2525

2626
jobs:
2727
analyze:
@@ -71,6 +71,13 @@ jobs:
7171
#- run: |
7272
# make bootstrap
7373
# make release
74+
- name: Flake8 Scan
75+
uses: reactive-firewall/flake8-cq@5a4f0f0e90a5c94b3f0fa1e659f2ec565b76be35 # v1.6a0
76+
with: # optional arguments
77+
config: '.flake8.ini'
78+
match: '**/*.py'
79+
publish-artifacts: false
80+
if: ${{ success() }}
7481

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

0 commit comments

Comments
 (0)