Use shared MT setup action fully in dependency baseline workflow#688
Draft
Use shared MT setup action fully in dependency baseline workflow#688
MT setup action fully in dependency baseline workflow#688Conversation
Agent-Logs-Url: https://github.com/mtransitapps/commons/sessions/44ba06e7-28a5-4e16-a03e-19cb4fa8618f Co-authored-by: mmathieum <177998+mmathieum@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Update mt-dependency-update-baseline.yml to use setup action
Use shared Apr 17, 2026
MT setup action in dependency baseline workflow
mmathieum
reviewed
Apr 17, 2026
Member
There was a problem hiding this comment.
@copilot https://github.com/mtransitapps/gh-actions/blob/master/.github/actions/setup/action.yml the action does way more, please replace all the steps duplicated here
Contributor
Author
There was a problem hiding this comment.
Updated in commit 970353a: I removed the duplicated steps (checkout_submodules, submodule branch switching, module branch checkout/pull, MT_GIT_BRANCH setup, and ./commons/code_setup.sh) and now rely on mtransitapps/gh-actions/.github/actions/setup@v1.0.1 for that setup behavior.
Agent-Logs-Url: https://github.com/mtransitapps/commons/sessions/e45cd1c8-ed1b-4191-aefe-e28d34178623 Co-authored-by: mmathieum <177998+mmathieum@users.noreply.github.com>
Copilot
AI
changed the title
Use shared
Use shared Apr 17, 2026
MT setup action in dependency baseline workflowMT setup action fully in dependency baseline workflow
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.
mt-dependency-update-baseline.ymlwas still duplicating setup logic that already exists in the shared composite setup action. This PR aligns the workflow with the shared-overwrite convention by relying onMT setupfor all duplicated setup behavior.Workflow setup alignment
.github/workflows/mt-dependency-update-baseline.ymlto use:mtransitapps/gh-actions/.github/actions/setup@v1.0.1(name: MT setup,id: mt-setup)MT_GIT_BRANCHenv setup step./commons/code_setup.shactions/setup-java@v5gradle/actions/setup-gradle@v6MT_IS_SUBMODULEMT_IS_MAIN_REPOMT_IS_AGENCY_REPOResulting workflow shape
MT setupaction instead of maintaining local duplicates, reducing drift and centralizing setup behavior.