fix(ci): restrict self-hosted PR-Agent comment triggers

This commit is contained in:
Tam Nhu Tran
2026-04-14 12:43:25 -04:00
parent 25216eaf33
commit e1271e2dbf
4 changed files with 7 additions and 7 deletions
@@ -24,6 +24,8 @@ describe('PR-Agent review lane migration', () => {
expect(workflow).toContain('OPENAI_KEY');
expect(workflow).toContain('config.model');
expect(workflow).toContain('github_action_config.auto_review');
expect(workflow).toContain("github.event.comment.body == '/review'");
expect(workflow).toContain('github.event.comment.author_association');
expect(workflow).not.toContain('uses: anthropics/claude-code-action@v1');
expect(workflow).not.toContain('AI_REVIEW_API_KEY');