This commit is contained in:
devin-ai-integration[bot] 2026-08-27 20:09:07 -05:00 committed by GitHub
commit beede130f8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -20,6 +20,11 @@ name: Agent Shin — reconsider
# commenter being either the PR/issue author or an internal collaborator
# (OWNER/MEMBER/COLLABORATOR) so random commenters cannot DOS the LLM
# judge or force a reopen.
#
# Bot comments never trigger a run: Agent Shin's own close and warning
# comments quote `@agent-shin reconsider` in their "how to bring this PR
# back" instructions, so without this gate every sweep comment triggers a
# self-reconsider that can only ever be unauthorized.
on:
issue_comment:
@ -35,6 +40,9 @@ jobs:
if: |
github.repository == 'BerriAI/litellm'
&& contains(github.event.comment.body, '@agent-shin reconsider')
&& github.event.comment.user.type != 'Bot'
&& !endsWith(github.event.comment.user.login, '[bot]')
&& github.event.comment.user.login != 'oss-agent-shin'
runs-on: ubuntu-latest
steps:
- name: Authorize commenter