File tree Expand file tree Collapse file tree 1 file changed +46
-0
lines changed
Expand file tree Collapse file tree 1 file changed +46
-0
lines changed Original file line number Diff line number Diff line change 1+ name : " CodeQL"
2+
3+ # # Github workflow code scanning
4+ # Configure this file to setup code scanning for the repository
5+ # Code scanning uses Github actions minutes. To learn more: https://docs.github.com/en/billing/managing-billing-for-github-actions/about-billing-for-github-actions
6+
7+ on :
8+ push :
9+ branches : [ "main" ]
10+ pull_request :
11+ branches : [ "main" ]
12+ # # Schedule cron running
13+ # schedule:
14+ # - cron: "0 0 1 * *"
15+
16+ jobs :
17+ analyze :
18+ name : Analyze
19+ runs-on : ubuntu-latest
20+ permissions :
21+ actions : read
22+ contents : read
23+ security-events : write
24+
25+ strategy :
26+ fail-fast : false
27+ matrix :
28+ language : [ javascript ]
29+
30+ steps :
31+ - name : Checkout
32+ uses : actions/checkout@v3
33+
34+ - name : Initialize CodeQL
35+ uses : github/codeql-action/init@v2
36+ with :
37+ languages : ${{ matrix.language }}
38+ queries : +security-and-quality
39+
40+ - name : Autobuild
41+ uses : github/codeql-action/autobuild@v2
42+
43+ - name : Perform CodeQL Analysis
44+ uses : github/codeql-action/analyze@v2
45+ with :
46+ category : " /language:${{ matrix.language }}"
You can’t perform that action at this time.
0 commit comments