From 521117db00cf7c7b10020b6534b701c23772be41 Mon Sep 17 00:00:00 2001 From: piyush-kukadiya Date: Tue, 23 Jun 2026 18:18:05 +0530 Subject: [PATCH 1/2] chore: add native-release-sync dispatch + CODEOWNERS Adds the one-click wrapper-sync dispatch (routes to CleverTap/clevertap-wrapper-tooling/.github/workflows/sync.yml@v1) plus a CODEOWNERS so auto-generated sync PRs request review. The domain skills are already present on develop under .claude/skills. Co-Authored-By: Claude Opus 4.8 (1M context) --- .github/CODEOWNERS | 2 + .github/workflows/native-release-sync.yml | 73 +++++++++++++++++++++++ 2 files changed, 75 insertions(+) create mode 100644 .github/CODEOWNERS create mode 100644 .github/workflows/native-release-sync.yml diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS new file mode 100644 index 0000000..719eb53 --- /dev/null +++ b/.github/CODEOWNERS @@ -0,0 +1,2 @@ +# Default reviewer for auto-generated sync PRs from clevertap-wrapper-sync[bot]. +* @piyush-kukadiya diff --git a/.github/workflows/native-release-sync.yml b/.github/workflows/native-release-sync.yml new file mode 100644 index 0000000..eb5c21d --- /dev/null +++ b/.github/workflows/native-release-sync.yml @@ -0,0 +1,73 @@ +name: native-release-sync + +# Manually-dispatched entry point for syncing the CleverTap Flutter SDK with a +# new native Android / iOS SDK release. +# +# This is a thin wrapper: it collects the target versions and routes all the +# real work to the reusable workflow in the central tooling repo +# (clevertap-wrapper-tooling). Claude runs headless there, edits the wrapper, +# builds the example app, and opens a PR for review. +# +# Required repo secrets (Settings -> Secrets and variables -> Actions): +# CLEVERTAP_WRAPPER_SYNC_APP_ID - clevertap-wrapper-sync GitHub App id +# CLEVERTAP_WRAPPER_SYNC_PRIVATE_KEY - that App's private key (.pem contents) +# ANTHROPIC_API_KEY - Anthropic API key +# SLACK_WEBHOOK_URL - Slack webhook for failure pings + +on: + workflow_dispatch: + inputs: + android_module: + description: 'Android module being bumped' + type: choice + options: [none, core, pushtemplates, hms] + default: core + android_version: + description: 'New Android version (e.g. 7.7.1). Leave empty to skip Android.' + type: string + default: '' + ios_module: + description: 'iOS module being bumped' + type: choice + options: [none, core, pushtemplates] + default: core + ios_version: + description: 'New iOS version (e.g. 7.4.2). Leave empty to skip iOS.' + type: string + default: '' + release_name: + description: 'Optional branch suffix (defaults to today YYYY-MM-DD)' + type: string + default: '' + base_ref: + description: 'Wrapper branch to sync from / open PR against (default develop; use a test baseline branch for testing)' + type: string + default: 'develop' + model: + description: 'Claude model (alias)' + type: choice + options: [sonnet, opus, haiku] + default: sonnet + skip_sync: + description: 'Skip Claude Sync + post-sync builds (pre-sync builds still run). Use for debugging the build pipeline without Claude cost.' + type: boolean + default: false + +jobs: + sync: + uses: CleverTap/clevertap-wrapper-tooling/.github/workflows/sync.yml@v1 + with: + wrapper: flutter + android_module: ${{ inputs.android_module != 'none' && inputs.android_module || '' }} + android_version: ${{ inputs.android_version }} + ios_module: ${{ inputs.ios_module != 'none' && inputs.ios_module || '' }} + ios_version: ${{ inputs.ios_version }} + release_name: ${{ inputs.release_name }} + base_ref: ${{ inputs.base_ref }} + model: ${{ inputs.model }} + skip_sync: ${{ inputs.skip_sync }} + secrets: + app_id: ${{ secrets.CLEVERTAP_WRAPPER_SYNC_APP_ID }} + app_private_key: ${{ secrets.CLEVERTAP_WRAPPER_SYNC_PRIVATE_KEY }} + anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }} + slack_webhook_url: ${{ secrets.SLACK_WEBHOOK_URL }} From b9cd2377ed91c57ed5d27cda338ca33ef1f3b8be Mon Sep 17 00:00:00 2001 From: piyush-kukadiya Date: Tue, 23 Jun 2026 18:29:46 +0530 Subject: [PATCH 2/2] chore: add review owners to CODEOWNERS Co-Authored-By: Claude Opus 4.8 (1M context) --- .github/CODEOWNERS | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 719eb53..084f189 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -1,2 +1,2 @@ -# Default reviewer for auto-generated sync PRs from clevertap-wrapper-sync[bot]. -* @piyush-kukadiya +# Default reviewers for auto-generated sync PRs from clevertap-wrapper-sync[bot]. +* @piyush-kukadiya @akashvercetti @CTLalit @nishant-clevertap @Sonal-Kachare @deeksha-rgb