Skip to content

Add skipPublishRelease input to mt-release workflow#712

Merged
mmathieum merged 2 commits intomasterfrom
copilot/add-skip-publish-release-input
Apr 28, 2026
Merged

Add skipPublishRelease input to mt-release workflow#712
mmathieum merged 2 commits intomasterfrom
copilot/add-skip-publish-release-input

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 27, 2026

mt-release.yml had no way to build APK/AAB artifacts without also triggering the GitHub and Play Store release. Adding skipPublishRelease enables dry-run builds.

Changes

  • New input skipPublishRelease — boolean, default false; when true, skips MT Publish release, MT check screenshot age, and (transitively) MT trigger record screenshots workflow
  • CLI example addedgh workflow run mt-release.yml -f skipPublishRelease=true
skipPublishRelease:
  description: 'Skip GitHub & all Play Store release (useful to generate APK/AAB)'
  type: boolean
  default: false
  required: false

Steps conditioned on the flag:

- name: MT Publish release
  if: ${{ github.event.inputs.skipPublishRelease != 'true' }}

- name: MT check screenshot age
  if: ${{ github.event.inputs.skipPublishRelease != 'true' }}

… all Play Store release

Agent-Logs-Url: https://github.com/mtransitapps/commons/sessions/cafffe9f-fcfe-4f9a-912e-64694aac35bf

Co-authored-by: mmathieum <177998+mmathieum@users.noreply.github.com>
Copilot AI changed the title [WIP] Add input to skip GitHub and Play Store release Add skipPublishRelease input to mt-release workflow Apr 27, 2026
Copilot AI requested a review from mmathieum April 27, 2026 23:37
@mmathieum mmathieum marked this pull request as ready for review April 28, 2026 12:38
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request introduces a skipPublishRelease input parameter to the mt-release.yml workflow, allowing the 'MT Publish release' and 'MT check screenshot age' steps to be skipped when only build artifacts are required. I have no feedback to provide.

@mmathieum mmathieum merged commit 1dbc600 into master Apr 28, 2026
4 checks passed
@mmathieum mmathieum deleted the copilot/add-skip-publish-release-input branch April 28, 2026 13:13
montransit added a commit to mtransitapps/mtransit-for-android that referenced this pull request Apr 28, 2026
mmathieum added a commit to mtransitapps/ca-saskatoon-transit-bus-android that referenced this pull request Apr 28, 2026
…er':

- commons: Add `skipPublishRelease` input to mt-release workflow mtransitapps/commons#712
- commons: shared-opt > parse_next.sh > called from another directory fix
- commons: Build(deps): Bump mtransitapps/gh-actions from 1.1.2 to 1.2.1 in /shared-overwrite/.github/workflows mtransitapps/commons#701
- commons: Modules > image generated > nice to have (2) mtransitapps/commons#710
- commons: Add AdMob release notes URL in comments
- commons: GMA Next-Gen SDK migration > OFF mtransitapps/commons#709
- commons: Build(deps): Bump io.netty:netty-codec-http2 from 4.2.6.Final to 4.2.12.Final in /shared mtransitapps/commons#707
- commons: Build(deps): Bump com.gradle.develocity from 4.3.2 to 4.4.1 in /shared mtransitapps/commons#706
- commons: Build(deps): Bump gradle-wrapper from 9.3.1 to 9.4.1 in /shared mtransitapps/commons#705
- commons: Build(deps): Bump com.google.devtools.ksp from 2.3.6 to 2.3.7 in the kotlin-ksp-compose group across 1 directory mtransitapps/commons#704
- commons: Dependabot > + `shared/settings.gradle` mtransitapps/commons#703
- commons: Build(deps): Bump the androidx group with 2 updates mtransitapps/commons#700
- commons: `mt-sync-code-data.yml` > image gen > nice to have mtransitapps/commons#699
- commons: `mt-sync-code-data.yml` > allow image generation for Bike agencies mtransitapps/commons#698
- commons: `mt-record-screenshots.yml` > skip main app mtransitapps/commons#697
- commons: `mt-sync-code-data.yml` > update inputs description for clarity mtransitapps/commons#696
- commons: R8 full mode mtransitapps/commons#691
- commons: Update Glide version from `5.0.5` to `5.0.7` mtransitapps/commons#695
- commons: Rename `checkout_submodules.sh` to `submodules_init.sh` with compatibility wrapper mtransitapps/commons#686
- commons: Prevent `mt-sync-code-data` from triggering release on manual non-default branch runs mtransitapps/commons#694
- commons: CircleCI: set `GIT_LFS_SKIP_SMUDGE` mtransitapps/commons#692
- commons-android: Merge branch 'master' of github.com:mtransitapps/commons-android
- commons-android: Compat w/ `gtfs_rts_agency_id_cleanup_regex` mtransitapps/commons-android#128
- commons-android: Compat w/ `gtfs_rts_agency_id_cleanup_regex`
- commons-android: GTFS-RT > fix time-zone issue... mtransitapps/commons-android#127
- commons-android: GTFS-RT > Trip Updates > Read from source > use `header.timestamp` mtransitapps/commons-android#125
- commons-android: TimeZone != TimeZoneId mtransitapps/commons-android#124
- commons-android: POI status > readFromSource Instant ext
- commons-android: R8 full mode mtransitapps/commons-android#120
- commons-java: Strings cleaner > fix stop name length (default zoom) mtransitapps/commons-java#32
- parser: JSON config > + `agency_id_cleanup_regex` mtransitapps/parser#63
- parser: TimeZone != TimeZoneId mtransitapps/parser#61
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

mt-release.yml > skip GitHub & all Play Store release

2 participants