Skip to content

Commit c268ec2

Browse files
restore & fix codeql
1 parent 16022e6 commit c268ec2

1 file changed

Lines changed: 38 additions & 27 deletions

File tree

.github/workflows/_codeql.yml

Lines changed: 38 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
# 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+
#
112
name: "CodeQL"
213

314
on:
@@ -17,38 +28,38 @@ jobs:
1728
fail-fast: false
1829

1930
steps:
20-
- name: Checkout repository
21-
uses: actions/checkout@v5
31+
- name: Checkout repository
32+
uses: actions/checkout@v5
2233

23-
# Initializes the CodeQL tools for scanning.
24-
- name: Initialize CodeQL
25-
uses: github/codeql-action/init@v4
26-
with:
27-
languages: java
28-
# If you wish to specify custom queries, you can do so here or in a config file.
29-
# By default, queries listed here will override any specified in a config file.
30-
# Prefix the list here with "+" to use these queries and those in the config file.
34+
# Initializes the CodeQL tools for scanning.
35+
- name: Initialize CodeQL
36+
uses: github/codeql-action/init@v4
37+
with:
38+
languages: java
39+
# If you wish to specify custom queries, you can do so here or in a config file.
40+
# By default, queries listed here will override any specified in a config file.
41+
# Prefix the list here with "+" to use these queries and those in the config file.
3142

32-
# 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
33-
# queries: security-extended,security-and-quality
43+
# 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
44+
# queries: security-extended,security-and-quality
3445

3546

36-
# Autobuild attempts to build any compiled languages (C/C++, C#, Go, or Java).
37-
# If this step fails, then you should remove it and run the build manually (see below)
38-
- name: Autobuild
39-
uses: github/codeql-action/autobuild@v4
47+
# Autobuild attempts to build any compiled languages (C/C++, C#, Go, or Java).
48+
# If this step fails, then you should remove it and run the build manually (see below)
49+
- name: Autobuild
50+
uses: github/codeql-action/autobuild@v4
4051

41-
# ℹ️ Command-line programs to run using the OS shell.
42-
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
52+
# ℹ️ Command-line programs to run using the OS shell.
53+
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
4354

44-
# If the Autobuild fails above, remove it and uncomment the following three lines.
45-
# modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.
55+
# If the Autobuild fails above, remove it and uncomment the following three lines.
56+
# modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.
4657

47-
# - run: |
48-
# echo "Run, Build Application using script"
49-
# ./location_of_script_within_repo/buildscript.sh
58+
# - run: |
59+
# echo "Run, Build Application using script"
60+
# ./location_of_script_within_repo/buildscript.sh
5061

51-
- name: Perform CodeQL Analysis
52-
uses: github/codeql-action/analyze@v4
53-
with:
54-
category: "/language:java"
62+
- name: Perform CodeQL Analysis
63+
uses: github/codeql-action/analyze@v4
64+
with:
65+
category: "/language:java"

0 commit comments

Comments
 (0)