feat(python/robomp): implemented has_authorized_impl_event in the

- Implement `has_authorized_impl_event` in the database to retrieve historical authorization state.
- Update `_enforce_impl_authorization` to permit actions if prior events on the issue provided implementation authorization.
- Normalize maintainer logins by stripping `[bot]` suffixes and allow match-regex to ignore them.
This commit is contained in:
can1357
2026-06-21 19:18:37 +02:00
parent 4b2e4085e0
commit 24a0c8428a
10 changed files with 140 additions and 29 deletions
+2 -2
View File
@@ -46,8 +46,8 @@ ROBOMP_GIT_AUTHOR_EMAIL=
ROBOMP_REPO_ALLOWLIST=
# Optional comma-separated GitHub logins whose @ROBOMP_BOT_LOGIN comments may
# authorize implementation work in addition to repo OWNER. `@` and case do not
# matter; use the webhook actor login, not a display name.
# authorize implementation work in addition to repo OWNER. Prefer lowercase
# bare logins; startup ignores leading `@`, case, whitespace, and `[bot]`.
ROBOMP_MAINTAINER_LOGINS=