Skip to content

Commit 29a6142

Browse files
AgentEnderclaude
andauthored
chore(repo): enable codeql for csharp code (#33301)
## Current Behavior CodeQL is not enabled for C#, but C# is in the nx repo ## Expected Behavior CodeQL is enabled on C# ## Related Issue(s) <!-- Please link the issue being fixed so it gets closed when this is merged. --> Fixes # --------- Co-authored-by: Claude <[email protected]>
1 parent b283663 commit 29a6142

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

.github/workflows/codeql-master.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@ jobs:
5151
build-mode: none
5252
- language: rust
5353
build-mode: none
54+
- language: csharp
55+
build-mode: autobuild
5456
# CodeQL supports the following values keywords for 'language': 'actions', 'c-cpp', 'csharp', 'go', 'java-kotlin', 'javascript-typescript', 'python', 'ruby', 'rust', 'swift'
5557
# Use `c-cpp` to analyze code written in C, C++ or both
5658
# Use 'java-kotlin' to analyze code written in Java, Kotlin or both
@@ -63,6 +65,9 @@ jobs:
6365
- name: Checkout repository
6466
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
6567

68+
- name: Setup Language Tooling
69+
uses: jdx/mise-action@c37c93293d6b742fc901e1406b8f764f6fb19dac # v2
70+
6671
# Add any setup steps before running the `github/codeql-action/init` action.
6772
# This includes steps like installing compilers or runtimes (`actions/setup-node`
6873
# or others). This is typically only required for manual builds.

.github/workflows/codeql-pr.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@ jobs:
4646
build-mode: none
4747
- language: rust
4848
build-mode: none
49+
- language: csharp
50+
build-mode: autobuild
4951
# CodeQL supports the following values keywords for 'language': 'actions', 'c-cpp', 'csharp', 'go', 'java-kotlin', 'javascript-typescript', 'python', 'ruby', 'rust', 'swift'
5052
# Use `c-cpp` to analyze code written in C, C++ or both
5153
# Use 'java-kotlin' to analyze code written in Java, Kotlin or both
@@ -58,6 +60,9 @@ jobs:
5860
- name: Checkout repository
5961
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
6062

63+
- name: Setup Language Tooling
64+
uses: jdx/mise-action@c37c93293d6b742fc901e1406b8f764f6fb19dac # v2
65+
6166
# Add any setup steps before running the `github/codeql-action/init` action.
6267
# This includes steps like installing compilers or runtimes (`actions/setup-node`
6368
# or others). This is typically only required for manual builds.

0 commit comments

Comments
 (0)