fix(#2377): doc_markdown + too_many_lines clippy lints

- Backtick-quote `pull_request` in doc comments (4x doc_markdown)
- Add #[allow(clippy::too_many_lines)] to server::dispatch (101/100;
  +1 line from submit_kind fetched_sha param in 5dd0a36f)
This commit is contained in:
atlas 2026-07-11 11:05:42 +02:00 committed by mara
commit 18e7c406b0
3 changed files with 5 additions and 4 deletions

View file

@ -2,7 +2,7 @@
//!
//! - **`/webhook/knowledge`** — push events on `internal/knowledge` trigger a
//! `git pull` on the local clone so agents see up-to-date docs.
//! - **`/webhook/config-pr`** — pull_request events on any `agent-configs/*`
//! - **`/webhook/config-pr`** — `pull_request` events on any `agent-configs/*`
//! repo queue a [`hive_sh4re::ApprovalKind::MergeConfigPr`] approval row
//! so the operator can review + approve the merge from the dashboard.
//!
@ -77,7 +77,7 @@ pub(super) async fn post_webhook_knowledge(
// ── config-PR webhook ──────────────────────────────────────────────────────────
/// Minimal Forgejo pull_request-webhook payload.
/// Minimal Forgejo `pull_request`-webhook payload.
///
/// Forgejo fires this for actions: `opened`, `closed`, `reopened`,
/// `synchronize`, `assigned`, `unassigned`, `label_updated`,
@ -109,7 +109,7 @@ struct PrWebhookRepo {
full_name: Option<String>,
}
/// POST `/webhook/config-pr` — Forgejo pull_request webhook for
/// POST `/webhook/config-pr` — Forgejo `pull_request` webhook for
/// `agent-configs/*` repos.
///
/// On `opened` or `synchronize` for an `agent-configs/<agent>` PR: