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
# For most projects, this workflow file will not need changing; you simply need
2
-
# to commit it to your repository.
3
-
#
4
-
# You may wish to alter this file to override the set of languages analyzed,
5
-
# or to provide custom queries or build logic.
6
-
#
7
-
# ******** NOTE ********
8
-
# We have attempted to detect the languages in your repository. Please check
9
-
# the `language` matrix defined below to confirm you have the correct set of
10
-
# supported CodeQL languages.
11
-
#
12
1
name: "CodeQL Advanced"
13
2
14
3
on:
15
4
push:
16
-
branches: ["main"]
5
+
branches: ["main"]
17
6
pull_request:
18
-
branches: ["main"]
7
+
branches: ["main"]
19
8
schedule:
20
-
- cron: '24 23 * * 5'
9
+
- cron: "24 23 * * 5"
21
10
22
11
jobs:
23
12
analyze:
@@ -42,11 +31,6 @@ jobs:
42
31
strategy:
43
32
fail-fast: false
44
33
matrix:
45
-
include:
46
-
- language: actions
47
-
build-mode: none
48
-
- language: rust
49
-
build-mode: none
50
34
# CodeQL supports the following values keywords for 'language': 'actions', 'c-cpp', 'csharp', 'go', 'java-kotlin', 'javascript-typescript', 'python', 'ruby', 'rust', 'swift'
51
35
# Use `c-cpp` to analyze code written in C, C++ or both
52
36
# Use 'java-kotlin' to analyze code written in Java, Kotlin or both
@@ -55,47 +39,53 @@ jobs:
55
39
# see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/customizing-your-advanced-setup-for-code-scanning.
56
40
# If you are analyzing a compiled language, you can modify the 'build-mode' for that language to customize how
57
41
# 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
+
include:
43
+
- language: actions
44
+
build-mode: none
45
+
- language: rust
46
+
build-mode: none
58
47
steps:
59
-
- name: Checkout repository
60
-
uses: actions/checkout@v4
48
+
- name: Checkout repository
49
+
uses: actions/checkout@v4
61
50
62
-
# Add any setup steps before running the `github/codeql-action/init` action.
63
-
# This includes steps like installing compilers or runtimes (`actions/setup-node`
64
-
# or others). This is typically only required for manual builds.
65
-
# - name: Setup runtime (example)
66
-
# uses: actions/setup-example@v1
51
+
# Add any setup steps before running the `github/codeql-action/init` action.
52
+
# This includes steps like installing compilers or runtimes (`actions/setup-node`
53
+
# or others). This is typically only required for manual builds.
54
+
# - name: Setup runtime (example)
55
+
# uses: actions/setup-example@v1
67
56
68
-
# Initializes the CodeQL tools for scanning.
69
-
- name: Initialize CodeQL
70
-
uses: github/codeql-action/init@v4
71
-
with:
72
-
languages: ${{ matrix.language }}
73
-
build-mode: ${{ matrix.build-mode }}
74
-
# If you wish to specify custom queries, you can do so here or in a config file.
75
-
# By default, queries listed here will override any specified in a config file.
76
-
# Prefix the list here with "+" to use these queries and those in the config file.
57
+
# Initializes the CodeQL tools for scanning.
58
+
- name: Initialize CodeQL
59
+
uses: github/codeql-action/init@v4
60
+
with:
61
+
languages: ${{ matrix.language }}
62
+
build-mode: ${{ matrix.build-mode }}
63
+
# If you wish to specify custom queries, you can do so here or in a config file.
64
+
# By default, queries listed here will override any specified in a config file.
65
+
# Prefix the list here with "+" to use these queries and those in the config file.
77
66
78
-
# 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
79
-
# queries: security-extended,security-and-quality
67
+
# For more details on CodeQL's query packs, refer to:
0 commit comments