Skip to content
Merged
Show file tree
Hide file tree
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
14 changes: 14 additions & 0 deletions .github/workflows/cogni-ai-agent.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,20 @@ on:
description: Prompt for the agent
required: true
type: string
# Prevent concurrent runs on the same branch to avoid push conflicts.
# When a new run is triggered, it will queue until the previous pending run completes.
# On the default branch each run gets a unique group (github.run_id) so runs can
# proceed in parallel, since each one branches off to its own new branch.
# See: https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#concurrency
concurrency:
cancel-in-progress: false
group: >-
cogni-ai-agent-${{
(github.event.issue.pull_request && 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
11 changes: 10 additions & 1 deletion .github/workflows/opencode.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,9 +113,18 @@ on:
default: ''
# Prevent concurrent runs on the same branch to avoid push conflicts.
# When a new run is triggered, it will queue until the previous pending run completes.
# On the default branch each run gets a unique group (github.run_id) so runs can
# proceed in parallel, since each one branches off to its own new branch.
# See: https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#concurrency
concurrency:
cancel-in-progress: false
group: opencode-${{ github.event.issue.number || github.event.pull_request.number || github.ref }}
group: >-
opencode-${{
(github.event.issue.pull_request && github.event.issue.number)
|| github.event.pull_request.number
|| (github.ref_name != github.event.repository.default_branch && github.ref)
|| github.run_id
}}
env:
OPENCODE_AGENT_DEFAULT: cogni-ai-architect
OPENCODE_MODEL_DEFAULT: opencode/gemini-3.1-pro
Expand Down
Loading