File tree Expand file tree Collapse file tree 5 files changed +79
-2
lines changed
Expand file tree Collapse file tree 5 files changed +79
-2
lines changed Original file line number Diff line number Diff line change 99 - main
1010 - latest
1111 schedule :
12- # "At 02:00 on Monday" https://crontab.guru/#0_1_ *_*_1
12+ # "At 02:00 on Monday" https://crontab.guru/#0_2_ *_*_1
1313 - cron : " 0 2 * * 1"
1414
1515jobs :
Original file line number Diff line number Diff line change 1+ # This file is automatically added by @npmcli/template-oss. Do not edit.
2+
3+ name : " CodeQL"
4+
5+ on :
6+ push :
7+ branches : [ main ]
8+ pull_request :
9+ # The branches below must be a subset of the branches above
10+ branches : [ main ]
11+ schedule :
12+ # "At 03:00 on Monday" https://crontab.guru/#0_3_*_*_1
13+ - cron : " 0 3 * * 1"
14+
15+ jobs :
16+ analyze :
17+ name : Analyze
18+ runs-on : ubuntu-latest
19+ permissions :
20+ actions : read
21+ contents : read
22+ security-events : write
23+
24+ strategy :
25+ fail-fast : false
26+ matrix :
27+ language : [ 'javascript' ]
28+
29+ steps :
30+ - name : Checkout repository
31+ uses : actions/checkout@v2
32+
33+ - name : Initialize CodeQL
34+ uses : github/codeql-action/init@v1
35+ with :
36+ languages : ${{ matrix.language }}
37+ - name : Perform CodeQL Analysis
38+ uses : github/codeql-action/analyze@v1
Original file line number Diff line number Diff line change 99 - main
1010 - latest
1111 schedule :
12- # "At 02:00 on Monday" https://crontab.guru/#0_1_ *_*_1
12+ # "At 02:00 on Monday" https://crontab.guru/#0_2_ *_*_1
1313 - cron : " 0 2 * * 1"
1414
1515jobs :
Original file line number Diff line number Diff line change 1+ # This file is automatically added by @npmcli/template-oss. Do not edit.
2+
3+ name : " CodeQL"
4+
5+ on :
6+ push :
7+ branches : [ main ]
8+ pull_request :
9+ # The branches below must be a subset of the branches above
10+ branches : [ main ]
11+ schedule :
12+ # "At 03:00 on Monday" https://crontab.guru/#0_3_*_*_1
13+ - cron : " 0 3 * * 1"
14+
15+ jobs :
16+ analyze :
17+ name : Analyze
18+ runs-on : ubuntu-latest
19+ permissions :
20+ actions : read
21+ contents : read
22+ security-events : write
23+
24+ strategy :
25+ fail-fast : false
26+ matrix :
27+ language : [ 'javascript' ]
28+
29+ steps :
30+ - name : Checkout repository
31+ uses : actions/checkout@v2
32+
33+ - name : Initialize CodeQL
34+ uses : github/codeql-action/init@v1
35+ with :
36+ languages : ${{ matrix.language }}
37+ - name : Perform CodeQL Analysis
38+ uses : github/codeql-action/analyze@v1
Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ const repoFiles = {
2121 '.github/CODEOWNERS' : './CODEOWNERS' ,
2222 '.github/dependabot.yml' : './dependabot.yml' ,
2323 '.github/workflows/audit.yml' : './audit.yml' ,
24+ '.github/workflows/codeql-analysis.yml' : './codeql-analysis.yml' ,
2425 '.github/workflows/pull-request.yml' : './pull-request.yml' ,
2526 '.github/workflows/release-please.yml' : './release-please.yml' ,
2627}
You can’t perform that action at this time.
0 commit comments