feat(ci): prefer hosted runners, fallback to self-hosted via reusable workflows#48
Merged
polyipseity merged 8 commits intomainfrom Jan 21, 2026
Merged
Conversation
FlandiaYingman
approved these changes
Jan 20, 2026
Member
FlandiaYingman
left a comment
There was a problem hiding this comment.
LGTM, ready for merge?
Member
Author
|
Yes, except that maybe we could use a better name than *-reusable.yml (seems to wrongly imply the workflows are reusable in some way, whereas it reality it just avoids duplicating the same steps twice). |
c4930e6 to
317405e
Compare
Member
Author
|
Renamed the workflow to a better name (shared workflow), and the MongoDB step is from the commented out step (https://github.com/USThing/template-api/pull/48/changes#diff-55f05888fd854d9962bdd4d8ccf23a07b610990f58174397b2586b58f8937428L59-L61). |
polyipseity
added a commit
that referenced
this pull request
Jan 21, 2026
polyipseity
added a commit
that referenced
this pull request
Jan 21, 2026
polyipseity
added a commit
that referenced
this pull request
Jan 24, 2026
polyipseity
added a commit
that referenced
this pull request
Jan 25, 2026
polyipseity
added a commit
that referenced
this pull request
Jan 25, 2026
polyipseity
added a commit
that referenced
this pull request
Feb 17, 2026
polyipseity
added a commit
that referenced
this pull request
Mar 4, 2026
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.
Summary
.github/workflows/{release,docker,check}-reusable.yml..github/workflows/{release,docker,check}.ymlcall reusable workflows for try/fallback.if: ${{ failure() }}so fallback runs only when the try job fails.continue_on_erroris passed into reusable workflows as an input and applied at job level.runs_onset toself-hosted.Notes
feat/prefer-hosted-fallback-reusable