Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 25 additions & 1 deletion .github/workflows/cogni-ai-agent.yml
Comment thread
kenorb marked this conversation as resolved.
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,17 @@ name: Cogni AI Agent

# yamllint disable-line rule:truthy
on:
issues:
types:
- opened
- reopened
issue_comment:
types:
- created
pull_request:
types:
- opened
- reopened
pull_request_review_comment:
types:
- created
Expand Down Expand Up @@ -48,6 +56,16 @@ on:
required: true
type: string

concurrency:
Comment thread
kenorb marked this conversation as resolved.
Outdated
cancel-in-progress: false
group: >-
cogni-ai-agent-${{
github.event.issue.number
|| github.event.pull_request.number
|| (github.ref_name != github.event.repository.default_branch && github.ref)
|| github.run_id
}}

jobs:
cogni-ai-agent:
name: Run Cogni AI agent
Expand Down Expand Up @@ -114,4 +132,10 @@ jobs:
touch*: allow
true*: allow
vim*: allow
prompt: ${{ github.event.comment.body || inputs.prompt }}
prompt: >-
${{
github.event.comment.body
|| github.event.issue.body
|| github.event.pull_request.body
|| inputs.prompt
}}
Loading