Skip to content

Commit 13b7c2d

Browse files
authored
Update codeql-analysis-java.yaml
remove autobuild and add build-mode=none
1 parent c0d27ac commit 13b7c2d

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

.github/workflows/codeql-analysis-java.yaml

+7-5
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,12 @@ jobs:
1919
actions: read
2020
contents: read
2121
security-events: write
22+
packages: read
2223

2324
strategy:
2425
fail-fast: false
2526
matrix:
26-
language: ["java"]
27+
language: ["java-kotlin"]
2728

2829
steps:
2930
- name: Checkout repository
@@ -34,15 +35,16 @@ jobs:
3435
uses: github/codeql-action/init@v3
3536
with:
3637
languages: ${{ matrix.language }}
38+
build-mode: none
3739
queries: security-extended # security-and-quality
3840
# If you wish to specify custom queries, you can do so here or in a config file.
3941
# By default, queries listed here will override any specified in a config file.
4042
# Prefix the list here with "+" to use these queries and those in the config file.
4143

42-
# Autobuild attempts to build any compiled languages (C/C++, C#, Go, or Java).
43-
# If this step fails, then you should remove it and run the build manually (see below)
44-
- name: Autobuild
45-
uses: github/codeql-action/autobuild@v3
44+
# # Autobuild attempts to build any compiled languages (C/C++, C#, Go, or Java).
45+
# # If this step fails, then you should remove it and run the build manually (see below)
46+
# - name: Autobuild
47+
# uses: github/codeql-action/autobuild@v3
4648

4749
# ℹ️ Command-line programs to run using the OS shell.
4850
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun

0 commit comments

Comments
 (0)