actionlint and shellcheck (pinned, SHA-256 verified) lint .gitea/workflows, and the ops repo's security.yml runs gitleaks over the full history, Opengrep, osv-scanner and a NuGetAudit restore on the Windows runner. Push to main, pull requests, and weekly on Friday 14:11 UTC (inside the runner's 13:00-16:00 UTC window, a free slot in the ops cron registry). This replaces CodeQL for both the C# and the workflow analysis. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
11 lines
593 B
YAML
11 lines
593 B
YAML
# actionlint settings (security.yml, job `workflow-lint`, and a local `actionlint` run from the
|
|
# repository root), as in the ops repository poli0981/.github. Only Gitea features that actionlint
|
|
# does not know are ignored here; everything else stays an error.
|
|
paths:
|
|
.gitea/workflows/*.yml:
|
|
ignore:
|
|
# Gitea's own token scope for releases (ops runbook §3.2 item 5)
|
|
- 'unknown permission scope "releases"'
|
|
# Gitea resolves full-URL actions; a bare owner/repo goes to github.com (ops runbook §1)
|
|
- 'specifying action "https://gitea\.com/[^"]+" in invalid format'
|