Conversation
There was a problem hiding this comment.
Pull request overview
This PR adds fork-maintenance automation for SimCapture, including syncing upstream changes, opening PRs when upstream releases land, and building/publishing signed APK releases, alongside minor fork-identification updates (README + Android applicationId).
Changes:
- Add GitHub Actions workflows to (1) sync upstream
mainintoupstream-main, (2) create PRs for newly merged upstream release branches, and (3) build a signed APK and publish a GitHub Release onmainupdates. - Update Android
applicationIdtocom.simprints.simcapture. - Prepend a fork-specific SimCapture section to the repository README.
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 7 comments.
Show a summary per file
| File | Description |
|---|---|
README.md |
Adds fork-specific overview and links to maintenance workflows and fork naming conventions. |
app/build.gradle.kts |
Changes applicationId to SimCapture’s package ID for the fork. |
.github/workflows/simcapture-sync-fork-upstream-main.yml |
Nightly workflow to force-sync upstream main into fork upstream-main. |
.github/workflows/simcapture-upstream-release-pr.yml |
Automation to open PRs for upstream release merges and delete upstream-release branches when PRs close. |
.github/workflows/simcapture-github-release-signed-apk.yml |
Builds a signed APK and creates a GitHub Release/tag on pushes to main. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
TristramN
approved these changes
Mar 31, 2026
Collaborator
TristramN
left a comment
There was a problem hiding this comment.
Nothing to add past Copilots CR, approving but def fix the idempotent rerun issue and check if we can used the short lived token 👍
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
GitHub Actions added to simplify/automate fork maintenance processes, such as keeping up with upstream, and building signed APK releases.
Summary of changes comparing to upstream dhis2/dhis2-android-capture-app:
mainto this repo'supstream-mainnightly on Mon-Friupstream-mainhas an upstream release newly merged into itmaincom.simprints.simcapturesimcapture-orcopilot-SimCapture releases have the following naming scheme:
SimCapture-DHIS2-<upstream_DHIS2_version>-fork-<SimCapture_version>.An example of a release APK name:
SimCapture-DHIS2-v3.3.1-fork-1-signed-release.apk.