Update .gitea/workflows/agent.yml

This commit is contained in:
2026-07-03 22:11:42 +02:00
parent 205b26a2f0
commit 6decdd4658
+2 -2
View File
@@ -22,8 +22,8 @@ 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_name == 'issues' && github.event.issue.user.login == 'ffaerber') ||
(github.event_name == 'issue_comment' && github.event.comment.user.login == 'ffaerber' &&
(github.event.comment == null && github.event.issue.user.login == 'ffaerber') ||
(github.event.comment != null && github.event.comment.user.login == 'ffaerber' &&
!contains(github.event.comment.body, '🤖') &&
(contains(github.event.comment.body, '@pm') ||
contains(github.event.comment.body, '@junior') ||