Skip to content

Commit e29d222

Browse files
authored
Add workflow input for clearing ai config before sync (#83)
feat(workflow): add `clear-ai-configs` input to sync AI configurations - Introduced `clear-ai-configs` boolean input to `.github/workflows/sync-ai-config.yml` for optionally clearing existing AI configuration files before syncing. - Updated the workflow to pass the new input to the sync process.
1 parent 50c7b51 commit e29d222

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/sync-ai-config.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@ on:
1313
required: false
1414
type: string
1515
default: 'main'
16+
clear-ai-configs:
17+
description: 'Clear existing AI configuration files before syncing'
18+
required: false
19+
type: boolean
20+
default: false
1621
schedule:
1722
- cron: '0 0 * * *' # Every day at midnight
1823

@@ -34,3 +39,4 @@ jobs:
3439
ai-systems: 'copilot,claude,junie'
3540
ai-base-version: ${{ inputs.ai-base-version }}
3641
create-pull-request: ${{ inputs.create-pull-request }}
42+
clear-ai-configs: ${{ inputs.clear-ai-configs }}

0 commit comments

Comments
 (0)