Files
james.maes a5cbc98cd7 ci(template): verify packaged apps and prepare NuGet releases
Separate the template repository NuGet release from generated apps' Velopack
releases. Pack and install the actual template in CI, then verify renamed
CLI and no-CLI apps. Include a package readme and locked build graph.

Pin all workflow variants to standards 0.1.2, rerun quality and security gates
before release, install pinned hooks, and add PowerShell lint and tested
coverage gates. Document initial restore and repository-specific setup.

Validation: both packaged variants build and format successfully, 54 unit
and 14 UI tests pass sequentially, and core/CLI coverage is 100%. Four Pester
tests, PowerShell analysis, workflow lint, and pre-commit checks pass.
Repository publication and the template NuGet policy remain pending.

Refs: KofTwentyTwo/AppKit#4, KofTwentyTwo/AppKit#6,
KofTwentyTwo/AppKit#7, KofTwentyTwo/AppKit#8,
KofTwentyTwo/AppKit#9, KofTwentyTwo/AppKit#20
Co-Authored-By: Codex (GPT-6) <noreply@openai.com>

Signed-off-by: James Maes <james@kof22.com>
2026-10-10 12:50:51 -05:00

28 lines
815 B
YAML

# Security scans (K22-CI-20, K22-CI-21, K22-CI-23): gitleaks over full history,
# Trivy + OSV-Scanner over the lock files, zizmor + actionlint over the workflows.
# Runs on every pull request, every push to main, and weekly.
name: security
on:
pull_request:
push:
branches: [main]
schedule:
- cron: "23 6 * * 1"
workflow_dispatch:
workflow_call:
permissions: {}
concurrency:
group: security-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
jobs:
security:
uses: KofTwentyTwo/standards/.github/workflows/security.yml@fdf5ed029603c938615a32b1beca3628b8787945 # v0.1.2
permissions:
contents: read # check out the code and its history
security-events: write # upload Trivy and zizmor SARIF to code scanning