Repository navigation
Fix workflow triggers & prompt - #8
Conversation
Reviewer's guide (collapsed on small PRs)Reviewer's GuideAdjusts the cogni-ai-agent GitHub Actions workflow to trigger on issue and PR opens/reopens, simplify concurrency grouping for non-PR issues, and broaden the AI prompt input to include issue/PR bodies while remaining YAML- and actionlint-compliant. File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
There was a problem hiding this comment.
Hey - I've left some high level feedback:
- Consider whether you also want to handle
edited/synchronize-type events for issues and pull requests so the agent can react to content updates instead of only on open/reopen. - The expanded
promptnow concatenates potentially large bodies from comments, issues, and PRs; it may be worth adding explicit truncation or sanitization logic upstream to keep prompts within safe size and content bounds.
Prompt for AI Agents
Please address the comments from this code review:
## Overall Comments
- Consider whether you also want to handle `edited` / `synchronize`-type events for issues and pull requests so the agent can react to content updates instead of only on open/reopen.
- The expanded `prompt` now concatenates potentially large bodies from comments, issues, and PRs; it may be worth adding explicit truncation or sanitization logic upstream to keep prompts within safe size and content bounds.Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.
|
/co Check comments from here. Check pre-commit issues. |
Co-authored-by: kenorb <kenorb@users.noreply.github.com>
|
I have addressed the comments from PR #37 and resolved the pre-commit issues as requested. Summary of Changes1. Workflow Improvements (
|
|
/co check ci |
Co-authored-by: kenorb <kenorb@users.noreply.github.com>
|
I have removed the I have also verified the workflow changes using |
|
The CI status for PR #8 is healthy. Although a transient network failure occurred earlier in the CI Status Summary
|



Applied trigger fixes from
EA31337/ansible-role-metatrader#38to.github/workflows/cogni-ai-agent.yml.Changes:
issues(opened, reopened) andpull_request(opened, reopened) event triggers.github.event.issue.numberdirectly, supporting non-PR issues.promptinput to includegithub.event.issue.bodyandgithub.event.pull_request.body, with YAML multiline wrapping to satisfyyamllint.actionlintandyamllint.Triggered by workflow_dispatch
opencode session | github run