File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ ---
2+ name : CodeQL
3+
4+ on :
5+ push :
6+ branches :
7+ - " main"
8+ pull_request :
9+ branches :
10+ - " main"
11+
12+ concurrency :
13+ group : ${{ github.ref }}-${{ github.workflow }}
14+ cancel-in-progress : true
15+
16+ jobs :
17+ skip-duplicate-actions :
18+ name : Skip Duplicate Actions
19+ runs-on : ubuntu-latest
20+ steps :
21+ - uses : fkirc/skip-duplicate-actions@master
22+ with :
23+ github_token : ${{ secrets.GITHUB_TOKEN }}
24+ cancel_others : true
25+ concurrent_skipping : never
26+
27+ CodeQL-analyze :
28+ name : CodeQL Analyze
29+ runs-on : ubuntu-latest
30+ permissions :
31+ actions : read
32+ contents : read
33+ security-events : write
34+
35+ steps :
36+ - name : Checkout repository
37+ uses : actions/checkout@v3
38+
39+ - name : Initialize CodeQL
40+ uses : github/codeql-action/init@v2
41+ with :
42+ languages : python
43+ queries : +security-and-quality
44+
45+ - name : Perform CodeQL Analysis
46+ uses : github/codeql-action/analyze@v2
You can’t perform that action at this time.
0 commit comments