There was an error while loading. Please reload this page.
1 parent 5cda37a commit 3b428ecCopy full SHA for 3b428ec
.github/workflows/discussion_answering.yml
@@ -3,10 +3,14 @@ name: ADK Answering Agent for Discussions
3
on:
4
discussion:
5
types: [created]
6
+ discussion_comment:
7
+ types: [created]
8
9
jobs:
10
agent-answer-questions:
- if: github.event.discussion.category.name == 'Q&A'
11
+ if: >-
12
+ (github.event_name == 'discussion' && github.event.discussion.category.name == 'Q&A') ||
13
+ (github.event_name == 'discussion_comment' && contains(github.event.comment.body, '@adk-bot') && github.event.sender.login != 'adk-bot')
14
runs-on: ubuntu-latest
15
16
steps:
0 commit comments