Files
AppKit/.github/workflows/codeql.yml
T
james.maesandClaude Opus 5.5 6b92ab4d12 ci: call the shared KofTwentyTwo/standards workflows
Replaces the repository's own workflows with callers of the reusable
workflows in KofTwentyTwo/standards, each pinned by full commit SHA
(K22-CI-11):

- pr-gates.yml: Conventional Commit title, DCO sign-off, dependency review.
- security.yml: gitleaks over full history, Trivy and OSV-Scanner over the
  lock files, zizmor and actionlint (PRs, main, weekly).
- codeql.yml: security-extended CodeQL for C# (manual x64 build) and Actions.
- ci.yml: locked restore, zero-warning build, unit tests with the 100%
  coverage gate, pack, format gate, and the FlaUI UI tests.
- release.yml: the shared NuGet release workflow (SBOMs, SHA256SUMS, build
  provenance, immutable GitHub release) plus the publish job that must live
  here for nuget.org trusted publishing.
- dependabot.yml: weekly grouped updates for NuGet and GitHub Actions with a
  cooldown, targeting main.

dotnet.yml and release-nuget.yml are pinned to the feat/dotnet-workflows
branch of KofTwentyTwo/standards until that pull request merges.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: James Maes <james@kof22.com>
2026-10-09 10:23:41 -05:00

30 lines
799 B
YAML

# CodeQL static analysis (K22-CI-22): security-extended queries for C# (a manual x64
# build of the solution) and for the workflows themselves, blocking high severity.
name: codeql
on:
pull_request:
push:
branches: [main]
schedule:
- cron: "41 6 * * 1"
permissions: {}
concurrency:
group: codeql-${{ github.ref }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
jobs:
codeql:
uses: KofTwentyTwo/standards/.github/workflows/codeql.yml@855cf4409180d2f1aa58a062c8c140be2ac27917 # main (pre-release)
permissions:
contents: read
security-events: write
with:
languages: '["csharp", "actions"]'
build-mode: manual
build-command: dotnet build AppKit.slnx -p:Platform=x64
runs-on: windows-latest
setup-dotnet: true