File tree Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ name : Flake8 Analysis
3+ on : [push, pull_request]
4+
5+ permissions : {} # Setting default permissions to none for enhanced security
6+
7+ jobs :
8+ flake8 :
9+ permissions :
10+ contents : read # for actions/checkout to fetch code
11+ pull-requests : read # to get PR metadata
12+ security-events : write # for github/codeql-action/upload-sarif to upload SARIF results
13+ name : Flake8 Analysis
14+ runs-on : ${{ matrix.os }}
15+ defaults :
16+ run :
17+ shell : bash
18+ timeout-minutes : 10
19+ strategy :
20+ matrix :
21+ os : [ubuntu-latest, macos-latest]
22+ env :
23+ OS : ${{ matrix.os }}
24+ steps :
25+ - name : Checkout repository
26+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
27+ with :
28+ persist-credentials : false
29+ - name : Flake8 Scan
30+ uses : reactive-firewall/flake8-cq@3b5b942aa102be6407838c21bc3deb10ef9a4541 # v1.0.1-beta
31+ with : # optional arguments
32+ config : ' .flake8.ini'
33+ match : ' **/*.py'
34+ publish-artifacts : false
35+ if : ${{ success() }}
You can’t perform that action at this time.
0 commit comments