Files
james.maesandClaude Opus 5.5 27b5d96741 feat(ci): reusable PR, security, and CodeQL workflows and conformance checker
- pr.yml: Conventional Commit title, DCO, dependency review
- security.yml: gitleaks (full history), Trivy + OSV-Scanner (malicious
  packages), zizmor + actionlint; all pinned by SHA or digest
- codeql.yml: security-extended with a high-severity gate
- this repo's CI, Scorecard, Dependabot, CODEOWNERS
- templates for repository files and caller workflows
- tools/Test-RepoConformance.ps1: checks K22-REPO-* and K22-CI-* via the
  GitHub API and a local clone, honoring the exception register

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

35 lines
1.0 KiB
YAML

# CodeQL for a KofTwentyTwo repository (K22-CI-22).
# Copy to .github/workflows/codeql.yml. Replace {{STANDARDS_SHA}} as described in
# pr-gates.yml, list every CodeQL language in the repository (always include
# "actions" so the workflows themselves are analyzed), and for compiled languages
# give the same build command CI uses.
name: codeql
on:
pull_request:
push:
branches: [main]
schedule:
- cron: "29 6 * * 1"
workflow_dispatch:
permissions: {}
concurrency:
group: codeql-${{ github.ref }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
jobs:
codeql:
uses: KofTwentyTwo/standards/.github/workflows/codeql.yml@{{STANDARDS_SHA}} # {{STANDARDS_VERSION}}
permissions:
contents: read
security-events: write
with:
languages: '{{CODEQL_LANGUAGES}}' # e.g. '["csharp", "actions"]'
# Compiled languages:
# build-mode: manual
# build-command: dotnet build MyApp.slnx -p:Platform=x64
# runs-on: windows-latest
# setup-dotnet: true