Skip to content
Merged
Changes from all commits
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
42 changes: 42 additions & 0 deletions .github/workflows/sync-ai-config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: Sync AI Configuration

on:
workflow_dispatch:
inputs:
create-pull-request:
description: 'Create a pull request instead of committing directly to the branch'
required: false
type: boolean
default: true
ai-base-version:
description: 'Version/branch of ai-base to use'
required: false
type: string
default: 'main'
clear-ai-configs:
description: 'Clear existing AI configuration files before syncing'
required: false
type: boolean
default: false
schedule:
- cron: '0 0 * * *' # Every day at midnight

jobs:
sync-scheduled:
if: github.event_name == 'schedule'
uses: CreativeCodersTeam/ai-base/.github/workflows/sync-ai-config.yml@main
with:
languages: 'csharp,superpowers'
ai-systems: 'copilot,claude,junie'
ai-base-version: 'main'
create-pull-request: true

sync-manual:
if: github.event_name == 'workflow_dispatch'
uses: CreativeCodersTeam/ai-base/.github/workflows/sync-ai-config.yml@main
with:
languages: 'csharp,superpowers'
ai-systems: 'copilot,claude,junie'
ai-base-version: ${{ inputs.ai-base-version }}
create-pull-request: ${{ inputs.create-pull-request }}
clear-ai-configs: ${{ inputs.clear-ai-configs }}
Loading