Workflows (.github/workflows/): - build.yml: Windows restore + dotnet format --verify + Release build (0-warning gate) + tests, on PR/push to main. - codeql.yml: project-specific CodeQL C# (Windows, builds CommandForge.slnx). The shared reusable codeql-csharp.yml runs on Linux and expects a .sln, so it cannot build this WPF/.slnx app. - release.yml: on tag v*, install vpk, download the previous release for the delta base (continue-on-error on first release), publish self-contained + vpk pack, publish the GitHub Release (vpk upload github), attach SHA-256 checksums.txt, and optionally submit to VirusTotal (gated on VT_API_KEY). - announce-release.yml + notify-ci-failure.yml: thin callers of the reusable Discord workflows in poli0981/.github (secrets: inherit). - dependabot.yml: weekly nuget + github-actions updates. Fix: scripts/pack.ps1 now passes -p:Version/-p:InformationalVersion to dotnet publish, so the in-app "App version" matches the release tag instead of defaulting to 1.0.0. Docs (English, public): BUILD.md, RELEASING.md, UPDATES.md — including the Velopack update mechanism (first vs subsequent release and how deltas are produced) and the required repo secrets. No source changes; 0-warning Release build, 104 tests pass; actionlint clean. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
46 lines
1.0 KiB
YAML
46 lines
1.0 KiB
YAML
name: CodeQL
|
|
|
|
# Project-specific CodeQL (not the shared reusable codeql-csharp.yml): this is a WPF
|
|
# (net10.0-windows) app that only builds on Windows and uses a .slnx solution, whereas the
|
|
# reusable workflow runs on ubuntu and looks for a .sln.
|
|
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
pull_request:
|
|
branches: [main]
|
|
schedule:
|
|
- cron: '37 14 * * 1' # Mondays 14:37 UTC
|
|
workflow_dispatch:
|
|
|
|
permissions:
|
|
actions: read
|
|
contents: read
|
|
security-events: write
|
|
|
|
jobs:
|
|
analyze:
|
|
name: Analyze (csharp)
|
|
runs-on: windows-latest
|
|
timeout-minutes: 30
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- 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-extended
|
|
|
|
- name: Build
|
|
run: dotnet build CommandForge.slnx -c Release
|
|
|
|
- name: Perform CodeQL Analysis
|
|
uses: github/codeql-action/analyze@v3
|
|
with:
|
|
category: "/language:csharp"
|