Gitea Actions reads .gitea/workflows (runbook §3.2 item 1). Same file
names; the contents change in the commits that follow.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Gitea has no Dependabot (runbook §1). renovate.json extends the shared
preset (poli0981/renovate-config), which pins action digests, groups
non-major updates and holds PyPI releases for 3 days.
requirements-dev.txt goes through Renovate's pip-compile manager, which
re-runs the lock's own header command on the header's Python, so the
hashes stay valid. pip_requirements is off: it would match the same lock.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Dropped in every repo with the move to Gitea (ops decision D1): the
`sonar` job, sonar-project.properties, the coverage.xml hand-off and the
SONAR_TOKEN secret. Qodana stays the code-quality check; pytest-cov keeps
the 95 % coverage floor.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
JetBrains/qodana-action needs GitHub's APIs (annotations, PR comment,
reactions). The job now downloads the Qodana CLI at the ops repo's pinned
version, checks its SHA-256 and scans in native mode with the job's
Python 3.15, as before. Findings stay in Qodana Cloud and in a
`qodana-report` artifact (Gitea artifact action); `checks` and
`pull-requests` permissions go.
A local job, not the ops reusable-qodana.yml: the scan needs setup-python
first for QODANA_PYTHON_PATH (runbook §3.5 item 5). Runs by renovate-bot
skip the scan, since Gitea hands same-repo PRs the repo's secrets.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
zizmor-action and `docker run rhysd/actionlint` both need a Docker daemon
inside the job, which the Gitea runner's job containers are not given.
zizmor 1.32.0 joins the hash-locked dev tools (a wheel per platform,
lock recompiled on Python 3.14); actionlint 1.7.12 and shellcheck 0.11.0
are release binaries at the ops repo's pinned versions, SHA-256 verified.
Both get the .gitea/workflows files by name, since each only finds
.github/workflows by itself. zizmor runs offline (its online audits ask
GitHub's API). .github/actionlint.yaml ignores only the Gitea features
actionlint does not know, as the ops repo's does.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The notifier callers point at poli0981/.github/.gitea/workflows on Gitea,
pinned to the ops main commit 8e6582a with `ops_ref` at the same SHA, so
the Discord script matches the workflow. That commit carries the notifier
fix for Gitea's workflow_run payload, which tag v2026.11.1 predates; move
the pin when the ops repo is next tagged (Renovate does not bump it).
Secrets are passed by name instead of `secrets: inherit` (runbook §3.2
item 3), so zizmor's secrets-inherit ignore and the ref-pin policy for
poli0981/* go: every `uses:` is now hash-pinned.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
`gh` only talks to github.com. The release job now creates the release
with gitea-release-action (SHA-pinned, job token), notes from the
changelog as before, pre-release for a suffixed tag, no files (runbook
§1). `releases: write` sits next to `contents: write` until the pilot
shows which one Gitea enforces.
The announce job calls the pinned ops reusable with the secrets by name:
a release made with the job token still fires no `release` event.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The runner is the maintainer's PC, so scheduled jobs run only in the
13:00-16:00 UTC window, daily at most (runbook §3.2 item 9). notify.yml
moves from three runs a day (06:30, 14:30, 22:30 UTC) to 14:47 UTC
(21:47 Vietnam), the slot the ops registry gives this repo (YA1).
A run waits while the PC is off and is cancelled after 24 h, so the gap
between two runs can now pass 48 h: LOOKBACK_HOURS goes to 72 (workflow
and default), enough for a late start plus one missed day. The state
commit is authored by Gitea's Actions user.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A caller of the ops security.yml with `python: true`: gitleaks over the
whole history, Opengrep with the workflow, shell and Python rules, and
osv-scanner over the lock (runbook §3.5 item 2). On pushes to main, pull
requests, and weekly on Thursday 15:47 UTC (22:47 Vietnam), this repo's
slot in the ops registry. Pinned to the same ops commit as the notifiers.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The bot's User-Agent named the GitHub repository, which went with the
account. It now names the canonical source on git.poli0981.dev
(runbook §3.4). The release-notes script's docstring says Gitea.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
GitHub's private vulnerability reporting went with the account, and the
GitLab mirror's issues are public. SECURITY.md sends reports to
security@poli0981.dev and asks for no public issue (runbook §3.4).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
README: where the source, the issue mirror and the contacts are; the
daily 14:47 UTC schedule on the maintainer's runner and the 72 h
lookback; .gitea/workflows and security.yml in the layout; the CI and
notifier secrets; Qodana through the CLI with its report artifact; the
local zizmor/actionlint commands; Gitea branch and tag protection;
Renovate instead of Dependabot. SonarQube Cloud goes from the text and
the badges, the ci badge points at Gitea.
SETUP_NEW_PLATFORMS.md says where secrets go on Gitea, and the
changelog conventions name the Gitea release.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The once-a-day schedule, the 72 h lookback, the new source, issue and
security addresses, Gitea releases, and SonarQube Cloud's removal.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The ops security.yml scans the whole history with gitleaks, which flags
`Authorization: Bearer YOUR_TOKEN` in SETUP_NEW_PLATFORMS.md (rule
curl-auth-header, added in 779499c). It is a placeholder for the
reader's own token. .gitleaksignore accepts that one fingerprint, with
the reason, as zizmor.yml does for its findings.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
gh release createdb15605518