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
# 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
51
# If you are analyzing a compiled language, you can modify the 'build-mode' for that language to customize how
51
52
# 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
53
+
matrix:
54
+
language: [ 'python', 'javascript-typescript', '' ] # Define your languages here
52
55
53
-
# matrix:
54
-
# include:
55
56
steps:
56
57
- name: Checkout repository
57
58
uses: actions/checkout@v4
@@ -62,18 +63,12 @@ jobs:
62
63
# - name: Setup runtime (example)
63
64
# uses: actions/setup-example@v1
64
65
65
-
- name: Check if language is set
66
-
if: "${{ matrix.language == '' }}"
67
-
run: |
68
-
echo "No language detected. Skipping analysis."
69
-
exit 0
70
-
71
66
# Initializes the CodeQL tools for scanning.
72
67
- name: Initialize CodeQL
73
68
uses: github/codeql-action/init@v3
74
69
with:
75
70
languages: ${{ matrix.language }}
76
-
build-mode: ${{ matrix.build-mode }}
71
+
#build-mode: ${{ matrix.build-mode }}
77
72
# If you wish to specify custom queries, you can do so here or in a config file.
78
73
# By default, queries listed here will override any specified in a config file.
79
74
# Prefix the list here with "+" to use these queries and those in the config file.
@@ -87,15 +82,15 @@ jobs:
87
82
# to build your code.
88
83
# ℹ️ Command-line programs to run using the OS shell.
89
84
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
90
-
- if: matrix.build-mode == 'manual'
91
-
shell: bash
92
-
run: |
93
-
echo 'If you are using a "manual" build mode for one or more of the' \
94
-
'languages you are analyzing, replace this with the commands to build' \
95
-
'your code, for example:'
96
-
echo ' make bootstrap'
97
-
echo ' make release'
98
-
exit 1
85
+
#- if: matrix.build-mode == 'manual'
86
+
# shell: bash
87
+
# run: |
88
+
# echo 'If you are using a "manual" build mode for one or more of the' \
89
+
# 'languages you are analyzing, replace this with the commands to build' \
0 commit comments