Skip to content

mt-release.yml: add allowStore* inputs to enable store channels on demand#715

Merged
mmathieum merged 2 commits intomasterfrom
copilot/add-store-channels-release-inputs
Apr 28, 2026
Merged

mt-release.yml: add allowStore* inputs to enable store channels on demand#715
mmathieum merged 2 commits intomasterfrom
copilot/add-store-channels-release-inputs

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 28, 2026

Adds allowStoreAlpha, allowStoreBetaPrivate, and allowStoreProduction boolean inputs (default false) to the mt-release.yml workflow — the complement to the existing skipStore* inputs.

Changes

  • New inputs (workflow_dispatch): allowStoreAlpha, allowStoreBetaPrivate, allowStoreProduction — each boolean, default false
  • New step MT allow store releases: runs before MT skip store releases, touches the corresponding config/store/{alpha,beta-private,production} file when the input is true
  • Skip overrides allow: ordering is intentional — skip step executes after allow step, so skipStore* always wins
- name: MT allow store releases
  if: ${{ github.event.inputs.allowStoreAlpha == 'true' || github.event.inputs.allowStoreBetaPrivate == 'true' || github.event.inputs.allowStoreProduction == 'true' }}
  run: |
    mkdir -p config/store
    if [[ "${{ github.event.inputs.allowStoreAlpha }}" == "true" ]]; then
      touch config/store/alpha
    fi
    if [[ "${{ github.event.inputs.allowStoreBetaPrivate }}" == "true" ]]; then
      touch config/store/beta-private
    fi
    if [[ "${{ github.event.inputs.allowStoreProduction }}" == "true" ]]; then
      touch config/store/production
    fi

- name: MT skip store releases   # runs after — skip always overrides allow
  ...

Copilot AI linked an issue Apr 28, 2026 that may be closed by this pull request
…inputs to mt-release.yml

Agent-Logs-Url: https://github.com/mtransitapps/commons/sessions/70d72b4f-c973-4d4f-9184-797be991d866

Co-authored-by: mmathieum <177998+mmathieum@users.noreply.github.com>
Copilot AI changed the title [WIP] Add inputs for store channels release in mt-release.yml mt-release.yml: add allowStore* inputs to enable store channels on demand Apr 28, 2026
Copilot AI requested a review from mmathieum April 28, 2026 14:03
@mmathieum mmathieum marked this pull request as ready for review April 28, 2026 17:41
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 new workflow inputs to explicitly allow specific store releases (Alpha, Beta-Private, and Production) and adds a step to create the corresponding marker files in the config/store/ directory. A review comment suggests consolidating the 'allow' and 'skip' release logic into a single step to eliminate redundant file operations and improve the maintainability of the workflow.

Comment thread shared-overwrite/.github/workflows/mt-release.yml
@mmathieum mmathieum merged commit 073c81b into master Apr 28, 2026
4 checks passed
@mmathieum mmathieum deleted the copilot/add-store-channels-release-inputs branch April 28, 2026 17:56
montransit added a commit to mtransitapps/mtransit-for-android that referenced this pull request Apr 28, 2026
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 > allow store channels release

2 participants