Skip to content

ci: use shared org backport workflow#1674

Open
ionite34 wants to merge 2 commits into
mainfrom
ci/shared-backport-workflow
Open

ci: use shared org backport workflow#1674
ionite34 wants to merge 2 commits into
mainfrom
ci/shared-backport-workflow

Conversation

@ionite34

@ionite34 ionite34 commented Jul 4, 2026

Copy link
Copy Markdown
Member

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 dev branch is gone, and the repo currently has no backport/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 a backport-to-<branch> label (e.g. for release-branch hotfix backports) and it works again.

Behavior notes

  • mainline is now 1 unconditionally (the base-branch parent of a GitHub merge commit, correct for any base branch). The old 1 if dev else 2 came from a trial-and-error fix ("Fix mainline maybe") and its else 2 path was never exercised — it would have produced wrong cherry-picks if hit.
  • .backportrc.json is kept: CI never read it (the workflow generates its own config in the workspace), but it still configures local backport CLI runs. Its sourceBranch: dev is stale for local use — happy to update or drop it if preferred.

🤖 Generated with Claude Code

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>
@gemini-code-assist

Copy link
Copy Markdown
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>
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.

1 participant