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
+30-48Lines changed: 30 additions & 48 deletions
Original file line number
Diff line number
Diff line change
@@ -13,12 +13,12 @@ name: "CodeQL"
13
13
14
14
on:
15
15
push:
16
-
branches: ["main"]
16
+
branches: ["main"]
17
17
pull_request:
18
18
# The branches below must be a subset of the branches above
19
-
branches: ["main"]
19
+
branches: ["main"]
20
20
schedule:
21
-
- cron: '43 14 * * 6'
21
+
- cron: "43 14 * * 6"
22
22
23
23
jobs:
24
24
analyze:
@@ -30,53 +30,35 @@ jobs:
30
30
security-events: write
31
31
32
32
steps:
33
-
- name: Checkout repository
34
-
uses: actions/checkout@v3
33
+
- name: Checkout repository
34
+
uses: actions/checkout@v3
35
35
36
-
# Initializes the CodeQL tools for scanning.
37
-
- name: Initialize CodeQL
38
-
uses: github/codeql-action/init@v2
39
-
with:
40
-
languages: java
41
-
# If you wish to specify custom queries, you can do so here or in a config file.
42
-
# By default, queries listed here will override any specified in a config file.
43
-
# Prefix the list here with "+" to use these queries and those in the config file.
36
+
# Initializes the CodeQL tools for scanning.
37
+
- name: Initialize CodeQL
38
+
uses: github/codeql-action/init@v2
39
+
with:
40
+
languages: java
41
+
# If you wish to specify custom queries, you can do so here or in a config file.
42
+
# By default, queries listed here will override any specified in a config file.
43
+
# Prefix the list here with "+" to use these queries and those in the config file.
44
44
45
-
# 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
46
-
# queries: security-extended,security-and-quality
45
+
# 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
46
+
# queries: security-extended,security-and-quality
47
47
48
-
- uses: actions/setup-java@v3
49
-
with:
50
-
java-version: '16'
51
-
distribution: 'temurin'
52
-
cache: gradle
53
-
- name: Validate Gradle wrapper
54
-
uses: gradle/wrapper-validation-action@v1.0.6
48
+
- uses: actions/setup-java@v3
49
+
with:
50
+
java-version: "16"
51
+
distribution: "temurin"
52
+
cache: gradle
53
+
- name: Validate Gradle wrapper
54
+
uses: gradle/wrapper-validation-action@v1.0.6
55
55
56
-
# Autobuild attempts to build any compiled languages (C/C++, C#, Go, or Java).
57
-
# If this step fails, then you should remove it and run the build manually (see below)
58
-
- name: Autobuild
59
-
uses: github/codeql-action/autobuild@v2
56
+
# Autobuild attempts to build any compiled languages (C/C++, C#, Go, or Java).
57
+
# If this step fails, then you should remove it and run the build manually (see below)
58
+
- name: Autobuild
59
+
uses: github/codeql-action/autobuild@v2
60
60
61
-
# ℹ️ Command-line programs to run using the OS shell.
62
-
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
63
-
64
-
# If the Autobuild fails above, remove it and uncomment the following three lines.
65
-
# modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.
0 commit comments