Skip to content

feat(map): add Map menu with properties, statistics, and cleanup oper… #2

feat(map): add Map menu with properties, statistics, and cleanup oper…

feat(map): add Map menu with properties, statistics, and cleanup oper… #2

Workflow file for this run

name: Security Scan
on:
push:
branches: [main]
pull_request:
branches: [main]
schedule:
# Run weekly on Monday at 08:00 UTC
- cron: '0 8 * * 1'
permissions:
contents: read
security-events: write
jobs:
codeql:
name: CodeQL Analysis
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: '10.0.x'
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: csharp
queries: security-and-quality
- name: Restore
run: dotnet restore src/App/AssetsAndMapEditor.App.csproj
- name: Build for CodeQL
run: dotnet build src/App/AssetsAndMapEditor.App.csproj --no-restore -c Release
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
with:
category: /language:csharp
dependency-review:
name: Dependency Review
runs-on: ubuntu-latest
if: github.event_name == 'pull_request'
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Dependency Review
uses: actions/dependency-review-action@v4
with:
fail-on-severity: high