forgejo-mcp/operation
Christoph Görn 2bbd9a29da
feat: ✨ add whitelist params to edit_branch_protection
Add push/merge/approvals whitelist params so an admin can allow a
specific user (e.g. a release bot) to push to an otherwise locked
branch:

- enable_push_whitelist / push_whitelist_usernames
- enable_merge_whitelist / merge_whitelist_usernames
- enable_approvals_whitelist / approvals_whitelist_usernames

Username lists are comma-separated and replace the existing list.
PATCH null-safety extends to them: an unpassed list serializes as null
(leave-unchanged), never [] (which would wipe an existing whitelist).
Covered by TestEditBranchProtectionFn_PushWhitelistRoundTrip.

Update the co-located branch-protection showboat demo and link it from
demos/README.md (new "Branch protection (governance)" section).
2026-06-02 17:39:04 +02:00
..
actions feat: robust stateless auth with security fixes and improved tests 2026-05-24 13:44:48 +02:00
attachment feat: add issue & comment attachment tools (#109) 2026-05-02 12:06:54 +02:00
branchprotection feat: ✨ add whitelist params to edit_branch_protection 2026-06-02 17:39:04 +02:00
issue fix: 🐛 request EmbeddedListCap+1 issue comments to detect truncation 2026-05-28 16:15:24 +02:00
org feat: robust stateless auth with security fixes and improved tests 2026-05-24 13:44:48 +02:00
params feat: ✨ add whitelist params to edit_branch_protection 2026-06-02 17:39:04 +02:00
pull fix: 🐛 request EmbeddedListCap+1 PR reviews to detect truncation 2026-05-28 16:18:20 +02:00
release feat: robust stateless auth with security fixes and improved tests 2026-05-24 13:44:48 +02:00
repo fix: 🐛 request EmbeddedListCap+1 statuses to detect truncation 2026-05-28 16:13:45 +02:00
resource feat: ✨ branch protection management — CRUD tools + forgejo:// resources (uc6) 2026-06-02 16:22:24 +02:00
search feat: robust stateless auth with security fixes and improved tests 2026-05-24 13:44:48 +02:00
tracking feat: robust stateless auth with security fixes and improved tests 2026-05-24 13:44:48 +02:00
user fix: 🐛 owner resource: surface orgErr on transport failure, explicit -32003 on both-404 2026-05-28 16:11:26 +02:00
version fix: add /v2 suffix to module path for go install compatibility 2025-12-29 15:51:03 +01:00
wiki feat: robust stateless auth with security fixes and improved tests 2026-05-24 13:44:48 +02:00
extracttoken_test.go fix: 🔒️ reject bare tokens in stateless HTTP auth 2026-06-01 23:41:10 +02:00
operation.go feat: ✨ branch protection management — CRUD tools + forgejo:// resources (uc6) 2026-06-02 16:22:24 +02:00