Files
CommandForge/.gitea/workflows/qodana.yml
T
poli0981andClaude Opus 5.5 561955a30c
Build / build (push) Skipped
Build / package (push) Skipped
Reusable / Security / Rust (cargo-deny) (pull_request) Skipped
Build / build (pull_request) Successful in 1m35s
Reusable / Qodana / Qodana (pull_request) Successful in 3m6s
Qodana / qodana (pull_request) Successful in 3m6s
Security / workflow-lint (pull_request) Successful in 9s
Reusable / Security / Secrets (gitleaks) (pull_request) Successful in 9s
Reusable / Security / SAST (Opengrep) (pull_request) Successful in 16s
Reusable / Security / Dependencies (osv-scanner) (pull_request) Successful in 13s
Reusable / Security / .NET (NuGetAudit) (pull_request) Successful in 40s
Security / scan (pull_request) Successful in 1m21s
Build / package (pull_request) Successful in 7m26s
ci: ops workflows at v2026.11.5
The ops repository's v2026.11.5 names CommandForge (and the other Velopack
apps released from Gitea) as Velopack in the release-pipeline notifier, so
its release posts say so, and fixes the shared security scan's .NET restore on
Docker runners without ICU (CommandForge runs it on windows-latest, which was
not affected). Every ops call and its ops_ref move to the tag's commit
(b93b371).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-26 12:55:39 +07:00

47 lines
2.0 KiB
YAML

name: Qodana
# JetBrains Qodana for .NET (`qodana-dotnet`, Rider's engine, on the Ultimate licence of the Qodana
# Cloud project): ReSharper's C#, XAML and .resx inspections, the IntelliJ platform's Markdown and
# XML inspections and JetBrains' security rules, over the whole solution. Every setting is in
# qodana.yaml; the gate there is zero problems.
#
# Runs the Qodana CLI through the ops repo's reusable-qodana.yml (JetBrains/qodana-action needs
# GitHub's APIs). Gitea has no code-scanning UI: the results go to Qodana Cloud and to the run's
# `qodana-report` artifact (SARIF and the linter's logs, for a reader without a Qodana Cloud account).
#
# - Native mode on `windows-latest` (host mode on the maintainer's PC): WPF (net10.0-windows) only
# loads on Windows, and the linter reads the projects with the SDK global.json names.
# - The solution is built first (prepare-command), so a build that fails is one red step with the
# compiler's own message rather than a report of unresolved symbols.
# - Advisory: not a required check of `main`, so a finding, a Qodana Cloud outage or a lapsed licence
# is a red job beside a green build, never a blocked merge. Runs started by renovate-bot skip it
# (the reusable's rule: a same-repo pull request gets the repository's secrets).
# Requires the repository secret QODANA_TOKEN.
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
jobs:
qodana:
permissions:
contents: read
uses: poli0981/.github/.gitea/workflows/reusable-qodana.yml@b93b3711b3049a879cfdfd515f7e72c23864da8f # ops v2026.11.5
with:
runs-on: windows-latest
dotnet-global-json-file: global.json
prepare-command: dotnet build CommandForge.slnx -c Release
artifact-name: qodana-report
secrets:
QODANA_TOKEN: ${{ secrets.QODANA_TOKEN }}