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
+49-56Lines changed: 49 additions & 56 deletions
Original file line number
Diff line number
Diff line change
@@ -11,15 +11,13 @@
11
11
# supported CodeQL languages.
12
12
#
13
13
name: "CodeQL Advanced"
14
-
15
14
on:
16
15
push:
17
-
branches: ["main"]
16
+
branches: ["main"]
18
17
pull_request:
19
-
branches: ["main"]
18
+
branches: ["main"]
20
19
schedule:
21
20
- cron: '16 7 * * 1'
22
-
23
21
jobs:
24
22
analyze:
25
23
name: Analyze (${{ matrix.language }})
@@ -32,69 +30,64 @@ jobs:
32
30
permissions:
33
31
# required for all workflows
34
32
security-events: write
35
-
36
33
# required to fetch internal or private CodeQL packs
37
34
packages: read
38
-
39
35
# only required for workflows in private repositories
40
36
actions: read
41
37
contents: read
42
-
43
38
strategy:
44
39
fail-fast: false
45
40
matrix:
46
41
include:
47
-
- language: actions
48
-
build-mode: none
49
-
# CodeQL supports the following values keywords for 'language': 'actions', 'c-cpp', 'csharp', 'go', 'java-kotlin', 'javascript-typescript', 'python', 'ruby', 'rust', 'swift'
50
-
# Use `c-cpp` to analyze code written in C, C++ or both
51
-
# Use 'java-kotlin' to analyze code written in Java, Kotlin or both
52
-
# Use 'javascript-typescript' to analyze code written in JavaScript, TypeScript or both
53
-
# To learn more about changing the languages that are analyzed or customizing the build mode for your analysis,
54
-
# see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/customizing-your-advanced-setup-for-code-scanning.
55
-
# If you are analyzing a compiled language, you can modify the 'build-mode' for that language to customize how
56
-
# 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
42
+
- language: actions
43
+
build-mode: none
44
+
# CodeQL supports the following values keywords for 'language': 'actions', 'c-cpp', 'csharp', 'go', 'java-kotlin', 'javascript-typescript', 'python', 'ruby', 'rust', 'swift'
45
+
# Use `c-cpp` to analyze code written in C, C++ or both
46
+
# Use 'java-kotlin' to analyze code written in Java, Kotlin or both
47
+
# Use 'javascript-typescript' to analyze code written in JavaScript, TypeScript or both
48
+
# To learn more about changing the languages that are analyzed or customizing the build mode for your analysis,
49
+
# see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/customizing-your-advanced-setup-for-code-scanning.
50
+
# If you are analyzing a compiled language, you can modify the 'build-mode' for that language to customize how
51
+
# 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
# If you wish to specify custom queries, you can do so here or in a config file.
68
+
# By default, queries listed here will override any specified in a config file.
69
+
# Prefix the list here with "+" to use these queries and those in the config file.
70
+
# If the analyze step fails for one of the languages you are analyzing with
71
+
# "We were unable to automatically build your code", modify the matrix above
72
+
# to set the build mode to "manual" for that language. Then modify this step
73
+
# to build your code.
74
+
# ℹ️ Command-line programs to run using the OS shell.
75
+
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
76
+
- name: Run manual build steps
77
77
# 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
78
78
# queries: security-extended,security-and-quality
79
79
80
-
# If the analyze step fails for one of the languages you are analyzing with
81
-
# "We were unable to automatically build your code", modify the matrix above
82
-
# to set the build mode to "manual" for that language. Then modify this step
83
-
# to build your code.
84
-
# ℹ️ Command-line programs to run using the OS shell.
85
-
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
86
-
- name: Run manual build steps
87
-
if: matrix.build-mode == 'manual'
88
-
shell: bash
89
-
run: |
90
-
echo 'If you are using a "manual" build mode for one or more of the' \
91
-
'languages you are analyzing, replace this with the commands to build' \
0 commit comments