You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: .github/workflows/codeql.yml
+39-39
Original file line number
Diff line number
Diff line change
@@ -13,11 +13,11 @@ name: "CodeQL Advanced"
13
13
14
14
on:
15
15
push:
16
-
branches: ["main"]
16
+
branches: ["main"]
17
17
pull_request:
18
-
branches: ["main"]
18
+
branches: ["main"]
19
19
schedule:
20
-
- cron: '45 4 * * 3'
20
+
- cron: "45 4 * * 3"
21
21
22
22
jobs:
23
23
analyze:
@@ -43,10 +43,10 @@ jobs:
43
43
fail-fast: false
44
44
matrix:
45
45
include:
46
-
- language: javascript-typescript
47
-
build-mode: none
48
-
- language: ruby
49
-
build-mode: none
46
+
- language: javascript-typescript
47
+
build-mode: none
48
+
- language: ruby
49
+
build-mode: none
50
50
# CodeQL supports the following values keywords for 'language': 'c-cpp', 'csharp', 'go', 'java-kotlin', 'javascript-typescript', 'python', 'ruby', 'swift'
51
51
# Use `c-cpp` to analyze code written in C, C++ or both
52
52
# Use 'java-kotlin' to analyze code written in Java, Kotlin or both
@@ -56,39 +56,39 @@ jobs:
56
56
# If you are analyzing a compiled language, you can modify the 'build-mode' for that language to customize how
57
57
# your codebase is analyzed, see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/codeql-code-scanning-for-compiled-languages
58
58
steps:
59
-
- name: Checkout repository
60
-
uses: actions/checkout@v4
59
+
- name: Checkout repository
60
+
uses: actions/checkout@v4
61
61
62
-
# Initializes the CodeQL tools for scanning.
63
-
- name: Initialize CodeQL
64
-
uses: github/codeql-action/init@v3
65
-
with:
66
-
languages: ${{ matrix.language }}
67
-
build-mode: ${{ matrix.build-mode }}
68
-
# If you wish to specify custom queries, you can do so here or in a config file.
69
-
# By default, queries listed here will override any specified in a config file.
70
-
# Prefix the list here with "+" to use these queries and those in the config file.
62
+
# Initializes the CodeQL tools for scanning.
63
+
- name: Initialize CodeQL
64
+
uses: github/codeql-action/init@v3
65
+
with:
66
+
languages: ${{ matrix.language }}
67
+
build-mode: ${{ matrix.build-mode }}
68
+
# If you wish to specify custom queries, you can do so here or in a config file.
69
+
# By default, queries listed here will override any specified in a config file.
70
+
# Prefix the list here with "+" to use these queries and those in the config file.
71
71
72
-
# For more 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
73
-
# queries: security-extended,security-and-quality
72
+
# For more 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
73
+
# queries: security-extended,security-and-quality
74
74
75
-
# If the analyze step fails for one of the languages you are analyzing with
76
-
# "We were unable to automatically build your code", modify the matrix above
77
-
# to set the build mode to "manual" for that language. Then modify this step
78
-
# to build your code.
79
-
# ℹ️ Command-line programs to run using the OS shell.
80
-
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
81
-
- if: matrix.build-mode == 'manual'
82
-
shell: bash
83
-
run: |
84
-
echo 'If you are using a "manual" build mode for one or more of the' \
85
-
'languages you are analyzing, replace this with the commands to build' \
86
-
'your code, for example:'
87
-
echo ' make bootstrap'
88
-
echo ' make release'
89
-
exit 1
75
+
# If the analyze step fails for one of the languages you are analyzing with
76
+
# "We were unable to automatically build your code", modify the matrix above
77
+
# to set the build mode to "manual" for that language. Then modify this step
78
+
# to build your code.
79
+
# ℹ️ Command-line programs to run using the OS shell.
80
+
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
81
+
- if: matrix.build-mode == 'manual'
82
+
shell: bash
83
+
run: |
84
+
echo 'If you are using a "manual" build mode for one or more of the' \
85
+
'languages you are analyzing, replace this with the commands to build' \
0 commit comments