From 38b36b2304612eedb33111e4e823d8f0d50fffaa Mon Sep 17 00:00:00 2001 From: hermes Date: Thu, 30 Jul 2026 15:06:05 +0300 Subject: [PATCH] feat: allow hermes user to trigger AI agent workflow Add 'hermes' to the trusted issue creators and comment authors in the workflow gate so the Hermes Agent can create issues and comment with @mentions to trigger the AI agent pipeline. --- .gitea/workflows/agent.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/agent.yml b/.gitea/workflows/agent.yml index 9ed2d92..aebcd5d 100644 --- a/.gitea/workflows/agent.yml +++ b/.gitea/workflows/agent.yml @@ -25,9 +25,10 @@ jobs: # Trusted author only, and only when a known agent is mentioned. This gate is the main # defense against malicious-issue prompt injection — do not loosen it. if: > - (github.event.comment == null && github.event.issue.user.login == 'ffaerber') || + (github.event.comment == null && (github.event.issue.user.login == 'ffaerber' || github.event.issue.user.login == 'hermes')) || (github.event.comment != null && (github.event.comment.user.login == 'ffaerber' || + github.event.comment.user.login == 'hermes' || github.event.comment.user.login == 'pm' || github.event.comment.user.login == 'junior' || github.event.comment.user.login == 'senior' ||