mirror of
https://github.com/encounter/adk-python.git
synced 2026-07-09 18:19:28 -07:00
chore: let adk-bot respond to discussion when it is tagged
PiperOrigin-RevId: 805406204
This commit is contained in:
committed by
Copybara-Service
parent
5cda37adb3
commit
3b428ec81f
@@ -3,10 +3,14 @@ name: ADK Answering Agent for Discussions
|
||||
on:
|
||||
discussion:
|
||||
types: [created]
|
||||
discussion_comment:
|
||||
types: [created]
|
||||
|
||||
jobs:
|
||||
agent-answer-questions:
|
||||
if: github.event.discussion.category.name == 'Q&A'
|
||||
if: >-
|
||||
(github.event_name == 'discussion' && github.event.discussion.category.name == 'Q&A') ||
|
||||
(github.event_name == 'discussion_comment' && contains(github.event.comment.body, '@adk-bot') && github.event.sender.login != 'adk-bot')
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
|
||||
Reference in New Issue
Block a user