Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/production-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
fetch-depth: 0

- name: Initialize CodeQL
uses: github/codeql-action/init@v3
uses: github/codeql-action/init@v4
with:
languages: csharp
config-file: ./.github/codeql/codeql-config.yml
Expand All @@ -72,7 +72,7 @@ jobs:
run: dotnet build SetlistStudio.sln --configuration Release --no-restore

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
uses: github/codeql-action/analyze@v4
with:
category: "/language:csharp"

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/security.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ jobs:
# Step 5: Initialize GitHub CodeQL static analysis security scanning
# CodeQL analyzes code for security vulnerabilities and coding errors
- name: 🛡️ CodeQL Analysis
uses: github/codeql-action/init@v3
uses: github/codeql-action/init@v4
with:
languages: csharp # Target C# language analysis
config-file: ./.github/codeql/codeql-config.yml # Use custom configuration
Expand All @@ -124,7 +124,7 @@ jobs:
# Step 7: Execute CodeQL security analysis
# Analyzes built code and uploads results to GitHub Security tab
- name: 🔍 Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
uses: github/codeql-action/analyze@v4
with:
category: "/language:csharp" # Categorize results by language

Expand Down Expand Up @@ -165,7 +165,7 @@ jobs:
# Integrates container security findings with GitHub's security features
- name: 📊 Upload Trivy Results
if: always() && hashFiles('trivy-results.sarif') != '' # Upload only if SARIF file exists
uses: github/codeql-action/upload-sarif@v3
uses: github/codeql-action/upload-sarif@v4
with:
sarif_file: 'trivy-results.sarif' # Trivy scan results file
continue-on-error: true # Continue to allow threshold enforcement step to handle failures
Expand Down
Loading