Sync Android env config to Gradle files with GitHub and Slack alerts
Combine Env & Gradle
Decode gradle.properties
Receive GitHub Webhook
Check if .env.staging Changed
Proceed Only if ENV Changed
Fetch .env.staging from Repo
github
Parse .env.staging into Key-Value
Fetch gradle.properties from Repo
github
Parse gradle.properties into Key-Value
Compare ENV and Gradle Variables
Generate New Branch Name
Get Latest SHA of main Branch
Prepare SHA for Branch Creation
Create New Git Branch
Fetch .env.staging from New Branch
github
Decode .env.staging
Fetch build.gradle File
github
Fetch gradle.properties File
github
Decode build.gradle
Combine Decoded Files for Diff
Identify Config Changes
Apply ENV Changes to build.gradle
Apply ENV Changes to gradle.properties
Commit build.gradle Updates to Branch
github
Commit gradle.properties Updates to Branch
github
Prepare Pull Request Data
Create Pull Request
Notify Team on Slack
slack
Press enter or space to select a node. You can then use the arrow keys to move the node around. Press delete to remove it and escape to cancel.
Press enter or space to select an edge. You can then press delete to remove it or escape to cancel.