Skip to content

Commit 6aef381

Browse files
committed
wip
1 parent 71e4ada commit 6aef381

File tree

1 file changed

+30
-31
lines changed

1 file changed

+30
-31
lines changed

.github/workflows/codeql.yml

Lines changed: 30 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
name: "CodeQL"
1+
name: 'CodeQL'
22

33
on:
4-
push:
5-
branches: [ "main" ]
6-
pull_request:
7-
branches: [ "main" ]
4+
# push:
5+
# branches: [ "main" ]
6+
# pull_request:
7+
# branches: [ "main" ]
88
schedule:
99
- cron: '43 12 * * 2'
1010

@@ -20,31 +20,30 @@ jobs:
2020
strategy:
2121
fail-fast: false
2222
matrix:
23-
language: [ 'javascript' ]
23+
language: ['javascript']
2424

2525
steps:
26-
- name: Checkout repository
27-
uses: actions/checkout@v3
28-
29-
# Initializes the CodeQL tools for scanning.
30-
- name: Initialize CodeQL
31-
uses: github/codeql-action/init@v2
32-
with:
33-
languages: ${{ matrix.language }}
34-
# If you wish to specify custom queries, you can do so here or in a config file.
35-
# By default, queries listed here will override any specified in a config file.
36-
# Prefix the list here with "+" to use these queries and those in the config file.
37-
38-
# Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
39-
# queries: security-extended,security-and-quality
40-
41-
42-
# Autobuild attempts to build any compiled languages (C/C++, C#, Go, or Java).
43-
# If this step fails, then you should remove it and run the build manually (see below)
44-
- name: Autobuild
45-
uses: github/codeql-action/autobuild@v2
46-
47-
- name: Perform CodeQL Analysis
48-
uses: github/codeql-action/analyze@v2
49-
with:
50-
category: "/language:${{matrix.language}}"
26+
- name: Checkout repository
27+
uses: actions/checkout@v3
28+
29+
# Initializes the CodeQL tools for scanning.
30+
- name: Initialize CodeQL
31+
uses: github/codeql-action/init@v2
32+
with:
33+
languages: ${{ matrix.language }}
34+
# If you wish to specify custom queries, you can do so here or in a config file.
35+
# By default, queries listed here will override any specified in a config file.
36+
# Prefix the list here with "+" to use these queries and those in the config file.
37+
38+
# Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
39+
# queries: security-extended,security-and-quality
40+
41+
# Autobuild attempts to build any compiled languages (C/C++, C#, Go, or Java).
42+
# If this step fails, then you should remove it and run the build manually (see below)
43+
- name: Autobuild
44+
uses: github/codeql-action/autobuild@v2
45+
46+
- name: Perform CodeQL Analysis
47+
uses: github/codeql-action/analyze@v2
48+
with:
49+
category: '/language:${{matrix.language}}'

0 commit comments

Comments
 (0)