The GitHub account is suspended, so nothing in .github/workflows runs and Workers Builds, which pulled from GitHub, has stopped deploying. Following the runbook (poli0981/.github docs/GITEA-MIGRATION.md §3) and its softharbor guide: - Workflows live in .gitea/workflows, every action pinned to a SHA, explicit per-job permissions; the ops callers pin poli0981/.github v2026.11.2. - ci.yml: SonarQube Cloud goes (D1); the Playwright report uses the Gitea artifact action; OSV in `gates` is the pinned osv-scanner binary; a new `deploy` job runs `wrangler deploy` on pushes to main and waits until production serves the build; a `record` job writes the dispatched run's build/gates results as commit statuses, which Gitea 28.4 does not. - CodeQL → the ops security.yml (gitleaks, Opengrep, osv-scanner), Tuesday 15:37 UTC. qodana.yml → the ops reusable-qodana.yml (Qodana CLI). - quarantine, vt-recheck and link-check talk to Gitea through the new scripts/gitea.mjs (PRs, dispatches, issues, statuses) instead of gh and create-pull-request; their crons move into the runner's 13:00–16:00 UTC window (13:17, 13:59, Monday 14:43). vt-recheck previews print their diff. - Renovate (renovate.json, the shared preset) replaces Dependabot; Gitea reads CODEOWNERS from .gitea/ with regular-expression patterns. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
33 lines
1.0 KiB
YAML
33 lines
1.0 KiB
YAML
# docs/12 §2 — the ops repo's security checks (D38), replacing CodeQL, which
|
||
# Gitea does not have:
|
||
#
|
||
# secrets gitleaks over the whole history (.gitleaksignore lists the public
|
||
# identifiers it would otherwise flag)
|
||
# sast Opengrep with pinned community rules for JavaScript/TypeScript;
|
||
# report-only, SARIF kept as an artifact
|
||
# deps osv-scanner over pnpm-lock.yaml (osv-scanner.toml applies)
|
||
#
|
||
# Not a required check (ci.yml `gates` is the one that blocks on advisories).
|
||
# Weekly slot `37 15 * * 2` — Tuesday 22:37 Vietnam — from the cron registry
|
||
# in poli0981/.github docs/migration/README.md: the runner only takes
|
||
# scheduled jobs inside 13:00–16:00 UTC.
|
||
name: Security
|
||
|
||
on:
|
||
push:
|
||
branches: [main]
|
||
pull_request:
|
||
schedule:
|
||
- cron: '37 15 * * 2'
|
||
workflow_dispatch:
|
||
|
||
permissions: {}
|
||
|
||
jobs:
|
||
security:
|
||
permissions:
|
||
contents: read
|
||
uses: poli0981/.github/.gitea/workflows/security.yml@8e6582af9a5846b4d8995b26b1421488d29d761b # ops v2026.11.2
|
||
with:
|
||
node: true
|