Skip to content

Windows services tab + security CI + wiki + UI tabs #1

Windows services tab + security CI + wiki + UI tabs

Windows services tab + security CI + wiki + UI tabs #1

Workflow file for this run

name: CodeQL
on:
push:
branches: [main]
pull_request:
branches: [main]
schedule:
# Weekly scheduled scan to catch new advisories against unchanged code.
- cron: '32 7 * * 1'
permissions:
contents: read
jobs:
analyze:
name: Analyze (${{ matrix.language }})
runs-on: windows-latest
permissions:
security-events: write
packages: read
actions: read
contents: read
strategy:
fail-fast: false
matrix:
language: ['csharp', 'actions']
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
- name: Setup .NET 8
if: matrix.language == 'csharp'
uses: actions/setup-dotnet@67a3573c9a986a3f9c594539f4ab511d57bb3ce9 # v4.3.1
with:
dotnet-version: '8.0.x'
- name: Initialize CodeQL
uses: github/codeql-action/init@0daab03d71ff584ef619d027a3fd9146679c5d84 # v3.35.3
with:
languages: ${{ matrix.language }}
queries: security-and-quality
- name: Build (csharp)
if: matrix.language == 'csharp'
run: dotnet build GamerGuardian.sln -c Release
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@0daab03d71ff584ef619d027a3fd9146679c5d84 # v3.35.3
with:
category: '/language:${{ matrix.language }}'