Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
ddfbc32
fix(fastlane): Incorporated iOS related changes from template.
techsavvy185 Mar 4, 2026
7dc51d2
Synchronised all files with template.
techsavvy185 Mar 5, 2026
620b17d
Sync iOS fastlane.
techsavvy185 Mar 6, 2026
f73c092
Revert Gemfile.lock to the previous version
techsavvy185 Mar 6, 2026
a01a152
Merge branch 'development' into fastlaneIOS
techsavvy185 Mar 11, 2026
527c6d4
Merge branch 'development' into fastlaneIOS
biplab1 Mar 16, 2026
233faaf
Apply suggestion from @biplab1
techsavvy185 Mar 16, 2026
a780395
Incorporated suggestions.
techsavvy185 Mar 16, 2026
76c82c3
Merge remote-tracking branch 'origin/fastlaneIOS' into fastlaneIOS
techsavvy185 Mar 16, 2026
3747c61
Incorporated suggestions.
techsavvy185 Mar 19, 2026
670ad5e
Merge branch 'development' into fastlaneIOS
techsavvy185 Mar 19, 2026
26c6963
Minor Changes.
techsavvy185 Mar 21, 2026
c19f38d
Minor Changes.
techsavvy185 Mar 23, 2026
77271a7
Minor Changes.
techsavvy185 Mar 24, 2026
af634c0
Merge branch 'development' into fastlaneIOS
techsavvy185 Mar 24, 2026
b510c8c
Merge branch 'development' into fastlaneIOS
niyajali Mar 26, 2026
5d0be19
Merge branch 'development' into fastlaneIOS
techsavvy185 Apr 9, 2026
0ed4562
Merge branch 'development' into fastlaneIOS
techsavvy185 Apr 20, 2026
4168ec2
Incorporated suggestions.
techsavvy185 May 7, 2026
814d004
Merge remote-tracking branch 'origin/fastlaneIOS' into fastlaneIOS
techsavvy185 May 7, 2026
37548bc
Merge branch 'development' into fastlaneIOS
techsavvy185 May 11, 2026
f234577
Merge branch 'development' into fastlaneIOS
niyajali May 12, 2026
234a839
Changed the language to en-US in project_config.rb
techsavvy185 May 13, 2026
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
714 changes: 714 additions & 0 deletions .github/CLAUDE.md

Large diffs are not rendered by default.

17 changes: 17 additions & 0 deletions .github/ci-gradle.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Disable daemon for CI to avoid leftover processes
org.gradle.daemon=false

# Run tasks in parallel where possible
org.gradle.parallel=true

# Increase heap and metaspace for larger builds (macOS-latest has ~7 GB available)
org.gradle.jvmargs=-Xmx7g

# Limit max workers to avoid memory pressure in CI
org.gradle.workers.max=3

# Disable Kotlin incremental compilation in CI for clean, consistent builds
kotlin.incremental=false

# Use in-process Kotlin compiler to avoid extra forked processes
kotlin.compiler.execution.strategy=in-process
Comment thread
biplab1 marked this conversation as resolved.
65 changes: 65 additions & 0 deletions .github/workflows/build-and-deploy-site.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
# This workflow is designed to automate the process of building and deploying a Kotlin/JS web application to GitHub Pages.
# It ensures that whenever changes are merged into the dev branch or when manually triggered, the web application is built,
# packaged, and deployed to the GitHub Pages environment, making it accessible online.
Comment on lines +2 to +3

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor

Workflow description and trigger behavior are inconsistent.

Line [2]-Line [3] claims deployment on merges to dev, but Line [45]-Line [46] configures manual trigger only (workflow_dispatch). Please align either comments or triggers.

Documentation-only correction example
-# It ensures that whenever changes are merged into the dev branch or when manually triggered, the web application is built,
-# packaged, and deployed to the GitHub Pages environment, making it accessible online.
+# It can be manually triggered to build, package, and deploy the web application
+# to the GitHub Pages environment.

Also applies to: 45-46

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In @.github/workflows/build-and-deploy-site.yml around lines 2 - 3, The workflow
header comment claims deployments on merges to dev but the workflow only has
workflow_dispatch; either update the comment to indicate manual trigger only or
add a push trigger for the dev branch so they match—specifically edit the file's
top comment and the YAML triggers: either change the on: section to include
push: branches: [dev] alongside workflow_dispatch (or replace workflow_dispatch)
or reword the top comment to state that the workflow is manual
(workflow_dispatch) only; ensure you reference the workflow_dispatch trigger and
the push branches: dev configuration when making the change.


# Key Features:
# - Automated web application build using Kotlin/JS
# - Deployment to GitHub Pages
# - Supports configurable web project module name
# - Manages deployment concurrency and environment settings
# - Provides secure deployment with proper permissions

# Prerequisites:
# - Kotlin Multiplatform/JS project configured with Gradle
# - Web module set up for browser distribution
# - Java 17 or compatible version
# - GitHub Pages enabled in repository settings

# Workflow Configuration:
# - Requires input of `web_package_name` to specify the web project module
# - Uses Windows runner for build process
# - Leverages GitHub Actions for build, pages configuration, and deployment

# Workflow Triggers:
# - Can be manually called from other workflows
# - Supports workflow_call for reusability across projects

# Deployment Process:
# 1. Checkout repository code
# 2. Set up Java development environment
# 3. Build Kotlin/JS web application
# 4. Configure GitHub Pages
# 5. Upload built artifacts
# 6. Deploy to GitHub Pages

# https://github.com/openMF/mifos-x-actionhub/blob/main/.github/workflows/build-and-deploy-site.yaml

# ##############################################################################
# DON'T EDIT THIS FILE UNLESS NECESSARY #
# ##############################################################################

name: Build And Deploy Web App

# Trigger conditions for the workflow
on:
workflow_dispatch:

# Concurrency settings to manage multiple workflow runs
# This ensures orderly deployment to production environment
concurrency:
group: "web-pages"
cancel-in-progress: false

permissions:
contents: read # Read repository contents
pages: write # Write to GitHub Pages
id-token: write # Write authentication tokens
pull-requests: write # Write to pull requests

jobs:
build_and_deploy_web:
name: Build And Deploy Web App
uses: openMF/mifos-x-actionhub/.github/workflows/build-and-deploy-site.yaml@v1.0.11
secrets: inherit
with:
web_package_name: 'cmp-web' # <-- Change with your web package name
2 changes: 1 addition & 1 deletion .github/workflows/cache-cleanup.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

jobs:
cleanup:
uses: openMF/mifos-x-actionhub/.github/workflows/cache-cleanup.yaml@v1.0.0
uses: openMF/mifos-x-actionhub/.github/workflows/cache-cleanup.yaml@v1.0.11
with:
cleanup_pr: ${{ github.event_name == 'pull_request' && github.event.repository.private == true }}
cleanup_all: ${{ github.event_name == 'workflow_dispatch' }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/monthly-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,5 +62,5 @@ concurrency:
jobs:
monthly_release:
name: Tag Monthly Release
uses: openMF/mifos-x-actionhub/.github/workflows/monthly-version-tag.yaml@v1.0.0
uses: openMF/mifos-x-actionhub/.github/workflows/monthly-version-tag.yaml@v1.0.11
secrets: inherit
165 changes: 165 additions & 0 deletions .github/workflows/multi-platform-build-and-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,165 @@
# GitHub Actions Workflow for Kotlin Multi-Platform Application Deployment
#
# OVERVIEW:
# This workflow supports building and publishing applications across multiple platforms:
# - Android (APK/AAB)
# - iOS (IPA)
# - Desktop (EXE, MSI, DMG, DEB)
# - Web (GitHub Pages)
#
# PREREQUISITES:
# Ensure your project is configured with:
# - Gradle build system
# - Kotlin Multiplatform Project with Android, iOS, Desktop, and Web modules
# - Fastlane for deployment automation
# - Separate modules/package names for each platform
#
# REQUIRED SECRETS:
# Configure the following secrets in GitHub repository settings:
# - ORIGINAL_KEYSTORE_FILE: Base64 encoded Android release keystore
# - ORIGINAL_KEYSTORE_FILE_PASSWORD: Keystore password
# - ORIGINAL_KEYSTORE_ALIAS: Keystore alias
# - ORIGINAL_KEYSTORE_ALIAS_PASSWORD: Keystore alias password

# - UPLOAD_KEYSTORE_FILE: Base64 encoded Android release keystore
# - UPLOAD_KEYSTORE_FILE_PASSWORD: Keystore password
# - UPLOAD_KEYSTORE_ALIAS: Keystore alias
# - UPLOAD_KEYSTORE_ALIAS_PASSWORD: Keystore alias password

# - GOOGLESERVICES: Google Services configuration JSON
# - PLAYSTORECREDS: Play Store service account credentials
# - FIREBASECREDS: Firebase distribution credentials

# - NOTARIZATION_APPLE_ID: Apple ID for macOS app notarization
# - NOTARIZATION_PASSWORD: Notarization password
# - NOTARIZATION_TEAM_ID: Apple developer team ID

# WORKFLOW INPUTS:
# - release_type: 'internal' (default) or 'beta'
# - target_branch: Branch to use for release (default: 'dev')
Comment thread
techsavvy185 marked this conversation as resolved.
Outdated
# - android_package_name: Name of Android module
# - ios_package_name: Name of iOS module
# - desktop_package_name: Name of desktop module
# - web_package_name: Name of web module
# - publish_android: Enable/disable Android Play Store publishing
# - build_ios: Enable/disable iOS build
# - publish_ios: Enable/disable iOS App Store publishing

Comment on lines +37 to +47

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor

Workflow input documentation block is stale.

Lines 44–47 describe publish_android, build_ios, and publish_ios, but those inputs are not defined under workflow_dispatch. This is misleading for release operators.

Proposed doc-only correction
-# - publish_android: Enable/disable Android Play Store publishing
-# - build_ios: Enable/disable iOS build
-# - publish_ios: Enable/disable iOS App Store publishing
+# - distribute_ios_firebase: Enable/disable iOS Firebase App Distribution
+# - distribute_ios_testflight: Enable/disable iOS TestFlight distribution
+# - distribute_ios_appstore: Enable/disable iOS App Store distribution
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In @.github/workflows/multi-platform-build-and-publish.yml around lines 37 - 47,
The workflow comment block in
.github/workflows/multi-platform-build-and-publish.yml is stale: it lists inputs
publish_android, build_ios, and publish_ios that are not defined under
workflow_dispatch; update the documentation to match the actual
workflow_dispatch inputs (remove the three obsolete entries or add the
corresponding workflow_dispatch inputs if they are intended features). Locate
the block containing the commented "WORKFLOW INPUTS" and the referenced symbols
publish_android, build_ios, publish_ios and either delete those lines or add the
missing inputs under workflow_dispatch so the docs and inputs stay in sync.

# USAGE:
# 1. Ensure all required secrets are configured
# 2. Customize package names in workflow inputs
# 3. Toggle platform-specific publishing flags
# 4. Trigger workflow manually or via GitHub Actions UI

# https://github.com/openMF/mifos-x-actionhub/blob/main/.github/workflows/multi-platform-build-and-publish.yaml

# ##############################################################################
# DON'T EDIT THIS FILE UNLESS NECESSARY #
# ##############################################################################
name: Multi-Platform Build and Publish

on:
workflow_dispatch:
inputs:
release_type:
type: choice
options:
- internal
- beta
default: internal
description: Release Type

target_branch:
type: string
default: 'dev'
description: 'Target branch for release'

distribute_ios_firebase:
type: boolean
default: false
description: Distribute iOS App via Firebase App Distribution

distribute_ios_testflight:
type: boolean
default: false
description: Distribute iOS App via TestFlight (App Store Connect)

distribute_ios_appstore:
type: boolean
default: false
description: Distribute iOS App to Appstore

permissions:
contents: write
id-token: write
pages: write

concurrency:
group: "reusable"
cancel-in-progress: false

jobs:
multi_platform_build_and_publish:
name: Multi-Platform Build and Publish
uses: openMF/mifos-x-actionhub/.github/workflows/multi-platform-build-and-publish.yaml@v1.0.11
with:
release_type: ${{ inputs.release_type }}
target_branch: ${{ inputs.target_branch }}
android_package_name: 'cmp-android'
ios_package_name: 'cmp-ios'
desktop_package_name: 'cmp-desktop'
web_package_name: 'cmp-web'
metadata_path: './fastlane/metadata'
use_cocoapods: true
Comment thread
coderabbitai[bot] marked this conversation as resolved.
Comment thread
biplab1 marked this conversation as resolved.
shared_module: ':cmp-shared'
distribute_ios_firebase: ${{ inputs.distribute_ios_firebase }}
# When App Store is enabled, skip TestFlight — deliver() already uploads
# the IPA to App Store Connect which makes the build available in TestFlight.
# Running both in parallel causes version conflicts since the upstream
# reusable workflow has no job dependency between the two.
distribute_ios_testflight: ${{ inputs.distribute_ios_testflight && !inputs.distribute_ios_appstore }}
distribute_ios_appstore: ${{ inputs.distribute_ios_appstore }}
secrets:
original_keystore_file: ${{ secrets.ORIGINAL_KEYSTORE_FILE }}
original_keystore_file_password: ${{ secrets.ORIGINAL_KEYSTORE_FILE_PASSWORD }}
original_keystore_alias: ${{ secrets.ORIGINAL_KEYSTORE_ALIAS }}
original_keystore_alias_password: ${{ secrets.ORIGINAL_KEYSTORE_ALIAS_PASSWORD }}

upload_keystore_file: ${{ secrets.UPLOAD_KEYSTORE_FILE }}
upload_keystore_file_password: ${{ secrets.UPLOAD_KEYSTORE_FILE_PASSWORD }}
upload_keystore_alias: ${{ secrets.UPLOAD_KEYSTORE_ALIAS }}
upload_keystore_alias_password: ${{ secrets.UPLOAD_KEYSTORE_ALIAS_PASSWORD }}

notarization_apple_id: ${{ secrets.NOTARIZATION_APPLE_ID }}
notarization_password: ${{ secrets.NOTARIZATION_PASSWORD }}
notarization_team_id: ${{ secrets.NOTARIZATION_TEAM_ID }}
appstore_key_id: ${{ secrets.APPSTORE_KEY_ID }}
appstore_issuer_id: ${{ secrets.APPSTORE_ISSUER_ID }}
appstore_auth_key: ${{ secrets.APPSTORE_AUTH_KEY }}
match_password: ${{ secrets.MATCH_PASSWORD }}
match_ssh_private_key: ${{ secrets.MATCH_SSH_PRIVATE_KEY }}

windows_signing_key: ${{ secrets.WINDOWS_SIGNING_KEY }}
windows_signing_password: ${{ secrets.WINDOWS_SIGNING_PASSWORD }}
windows_signing_certificate: ${{ secrets.WINDOWS_SIGNING_CERTIFICATE }}

macos_signing_key: ${{ secrets.MACOS_SIGNING_KEY }}
macos_signing_password: ${{ secrets.MACOS_SIGNING_PASSWORD }}
macos_signing_certificate: ${{ secrets.MACOS_SIGNING_CERTIFICATE }}

linux_signing_key: ${{ secrets.LINUX_SIGNING_KEY }}
linux_signing_password: ${{ secrets.LINUX_SIGNING_PASSWORD }}
linux_signing_certificate: ${{ secrets.LINUX_SIGNING_CERTIFICATE }}

keychain_password: ${{ secrets.KEYCHAIN_PASSWORD }}
certificates_password: ${{ secrets.CERTIFICATES_PASSWORD }}
mac_app_distribution_certificate_b64: ${{ secrets.MAC_APP_DISTRIBUTION_CERTIFICATE_B64 }}
mac_installer_distribution_certificate_b64: ${{ secrets.MAC_INSTALLER_DISTRIBUTION_CERTIFICATE_B64 }}
mac_embedded_provision_b64: ${{ secrets.MAC_EMBEDDED_PROVISION_B64 }}
mac_runtime_provision_b64: ${{ secrets.MAC_RUNTIME_PROVISION_B64 }}

google_services: ${{ secrets.GOOGLESERVICES }}
firebase_creds: ${{ secrets.FIREBASECREDS }}
playstore_creds: ${{ secrets.PLAYSTORECREDS }}
token: ${{ secrets.GITHUB_TOKEN }}
supabase_creds: ${{ secrets.SUPABASECREDS }}
13 changes: 9 additions & 4 deletions .github/workflows/pr-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,9 @@ name: PR Checks
# Trigger conditions for the workflow
on:
push:
branches: [ development ] # Runs on pushes to dev branch
branches: [ dev, development ]
pull_request:
branches: [ development ] # Runs on pushes to dev branch
branches: [ dev, development ] # Runs on pushes to dev branch

# Concurrency settings to prevent multiple simultaneous workflow runs
concurrency:
Expand All @@ -82,7 +82,12 @@ permissions:
jobs:
pr_checks:
name: PR Checks
uses: openMF/mifos-x-actionhub/.github/workflows/pr-check-android.yaml@v1.0.0
secrets: inherit
uses: openMF/mifos-x-actionhub/.github/workflows/pr-check.yaml@v1.0.11
with:
android_package_name: 'cmp-android' # <-- Change Your Android Package Name
desktop_package_name: 'cmp-desktop' # <-- Change Your Desktop Package Name
web_package_name: 'cmp-web' # <-- Change Your Web Package Name
ios_package_name: 'cmp-ios' # <-- Change Your iOS Package Name
build_ios: true # <-- Change to 'false' if you don't want to build iOS
use_cocoapods: true
Comment thread
coderabbitai[bot] marked this conversation as resolved.
shared_module: ':cmp-shared'
2 changes: 1 addition & 1 deletion .github/workflows/promote-to-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,6 @@ jobs:
# Job to promote app from beta to production in Play Store
play_promote_production:
name: Promote Beta to Production Play Store
uses: openMF/mifos-x-actionhub/.github/workflows/promote-to-production.yaml@v1.0.0
uses: openMF/mifos-x-actionhub/.github/workflows/promote-to-production.yaml@v1.0.11
secrets:
playstore_creds: ${{ secrets.PLAYSTORECREDS }}
7 changes: 7 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,14 @@ source "https://rubygems.org"

ruby '3.3.5'

# Add compatibility gems for Ruby 3.3+
gem "abbrev"
gem "base64"
gem "mutex_m"
gem "bigdecimal"

gem "fastlane"
gem "cocoapods"

plugins_path = File.join(File.dirname(__FILE__), 'fastlane', 'Pluginfile')
eval_gemfile(plugins_path) if File.exist?(plugins_path)
Loading
Loading