GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Backport 4.1: Automatic backporting workflow from 4.1 to 4.2 by github-actions[bot] · Pull Request #16274 · netty/netty

Conversation

@github-actions

@github-actions github-actions Bot commented Feb 13, 2026

Copy link
Copy Markdown

Backport of #16273 to 4.1
Cherry-picked commit: c0c2c27


Motivation:
We often backport PRs from 4.2 to 4.1.
Because these branches are very similar, cherry-picking often applies cleanly.

Modification:
Add a workflow that triggers when a is PRs merged into 4.2 with the needs-cherry-pick-4.1 label, or when a merged PR is labelled with needs-cherry-pick-4.1.
The workflow triggers on pull_request_target so that it runs in the context of the base branch, rather than the PR, which gives it access to repository secrets – this is safe because we're not running any code that's been added or modified by the PR in question.
The workflow checks out the full git history, and tries to cherry-pick the merge commit onto 4.1 and create a pull-request. Finally, the workflow adds a comment to the original PR, linking the backport PR if the cherry-pick succeeded, or reporting failure if it didn't.
The back port branch are pushed back to the netty/netty repository using the same SSH key we use to push release tags.

Result:
Easier to keep 4.1 up to date with bug fixes we do in 4.2.
This PR attempts to fix the issues encountered with #16269 and #16271

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@chrisvest @netty-project-bot
Automatic backporting workflow from 4.1 to 4.2 (#16273)
fbbbf23
Motivation:
We often backport PRs from 4.2 to 4.1.
Because these branches are very similar, cherry-picking often applies
cleanly.

Modification:
Add a workflow that triggers when a is PRs merged into 4.2 with the
`needs-cherry-pick-4.1` label, or when a merged PR is labelled with
`needs-cherry-pick-4.1`.
The workflow triggers on `pull_request_target` so that it runs in the
context of the base branch, rather than the PR, which gives it access to
repository secrets – this is safe because we're not running any code
that's been added or modified by the PR in question.
The workflow checks out the full git history, and tries to cherry-pick
the merge commit onto `4.1` and create a pull-request. Finally, the
workflow adds a comment to the original PR, linking the backport PR if
the cherry-pick succeeded, or reporting failure if it didn't.
The back port branch are pushed back to the netty/netty repository using
the same SSH key we use to push release tags.

Result:
Easier to keep 4.1 up to date with bug fixes we do in 4.2.
This PR attempts to fix the issues encountered with
#16269 and
#16271

(cherry picked from commit c0c2c27)
@github-actions github-actions Bot mentioned this pull request Feb 13, 2026
Automatic backporting workflow from 4.1 to 4.2 #16273
Merged
@chrisvest
chrisvest enabled auto-merge (squash) February 13, 2026 20:46
@normanmaurer

normanmaurer commented Feb 13, 2026

Copy link
Copy Markdown
Member

@chrisvest seems like the CI jobs are not triggered for it ?

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@chrisvest

chrisvest commented Feb 13, 2026

Copy link
Copy Markdown
Member

@normanmaurer Aha, so we need a personal access token after all, for creating the backport PR. When the PR is created with GITHUB_TOKEN, it doesn't trigger other workflows: https://docs.github.com/en/actions/concepts/security/github_token#when-github_token-triggers-workflow-runs

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@chrisvest
chrisvest disabled auto-merge February 13, 2026 23:22
@chrisvest
chrisvest merged commit a80f333 into 4.1 Feb 13, 2026
@chrisvest
chrisvest deleted the backport-pr-16273-to-4.1 branch February 13, 2026 23:22
@chrisvest

chrisvest commented Feb 13, 2026

Copy link
Copy Markdown
Member

Merging this one manually, then.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@chrisvest

chrisvest commented Feb 13, 2026

Copy link
Copy Markdown
Member

@normanmaurer Hopefully this will fix it: #16276 – unfortunately it means we need to have a personal access token configured, and these things expire.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@normanmaurer @chrisvest
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.