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
18 changes: 16 additions & 2 deletions .github/workflows/cogni-ai-agent.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,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 @@ -57,7 +65,7 @@ concurrency:
cancel-in-progress: false
group: >-
cogni-ai-agent-${{
(github.event.issue.pull_request && github.event.issue.number)
github.event.issue.number
|| github.event.pull_request.number
|| (github.ref_name != github.event.repository.default_branch && github.ref)
|| github.run_id
Expand Down Expand Up @@ -124,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