File tree Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Original file line number Diff line number Diff line change 1+ name : " CodeQL"
2+
3+ on :
4+ push :
5+ branches : [ main, 1.x ]
6+ pull_request :
7+ # The branches below must be a subset of the branches above
8+ branches : [ main ]
9+ schedule :
10+ - cron : ' 38 7 * * 1'
11+
12+ jobs :
13+ analyze :
14+ name : Analyze
15+ runs-on : ubuntu-latest
16+ permissions :
17+ actions : read
18+ contents : read
19+ security-events : write
20+
21+ strategy :
22+ fail-fast : false
23+ matrix :
24+ language : [ 'javascript' ]
25+
26+ steps :
27+ - name : Checkout repository
28+ uses : actions/checkout@v2
29+
30+ # Initializes the CodeQL tools for scanning.
31+ - name : Initialize CodeQL
32+ uses : github/codeql-action/init@v1
33+ with :
34+ languages : ${{ matrix.language }}
35+ # If you wish to specify custom queries, you can do so here or in a config file.
36+ # By default, queries listed here will override any specified in a config file.
37+ # Prefix the list here with "+" to use these queries and those in the config file.
38+ # queries: ./path/to/local/query, your-org/your-repo/queries@main
39+
40+ - name : Perform CodeQL Analysis
41+ uses : github/codeql-action/analyze@v1
You can’t perform that action at this time.
0 commit comments