ci: use shared org backport workflow#1674
Open
ionite34 wants to merge 2 commits into
Open
Conversation
Replaces the bespoke backport workflow with a thin caller of the reusable LykosAI/.github backport workflow. Behavior notes: - mainline is now 1 unconditionally; the old 'else 2' branch only applied to the retired dev/main split and was never exercised - .backportrc.json stays for local backport CLI use (CI generates its own config and never read it) Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Contributor
|
Note Gemini is unable to generate a review for this pull request due to the file types involved not being currently supported. |
Adds `secrets: inherit` so the reusable workflow can mint the lykos-backport App token when configured; falls back to GITHUB_TOKEN otherwise. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
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.
Swaps the bespoke backport workflow for a thin caller of the new reusable workflow in LykosAI/.github#1 (merge that first — this references it
@main).Current state worth knowing
The backport flow here is dormant: the
devbranch is gone, and the repo currently has nobackport/backport-to-*labels, so the old workflow hasn't had anything to do for a while. This PR keeps the capability alive at near-zero maintenance cost — recreate abackport-to-<branch>label (e.g. for release-branch hotfix backports) and it works again.Behavior notes
mainlineis now1unconditionally (the base-branch parent of a GitHub merge commit, correct for any base branch). The old1 if dev else 2came from a trial-and-error fix ("Fix mainline maybe") and itselse 2path was never exercised — it would have produced wrong cherry-picks if hit..backportrc.jsonis kept: CI never read it (the workflow generates its own config in the workspace), but it still configures localbackportCLI runs. ItssourceBranch: devis stale for local use — happy to update or drop it if preferred.🤖 Generated with Claude Code