gnodet opened a new pull request, #21910:
URL: https://github.com/apache/camel/pull/21910

   ## Summary
   
   Adds a new `/update-branch` PR command that merges the base branch into the 
PR branch. Similar to dependabot's `@dependabot rebase` but works for any PR in 
the repo.
   
   ## Usage
   
   Post `/update-branch` as a comment on any PR. The workflow will:
   1. React with :+1: to acknowledge
   2. Merge the base branch (usually `main`) into the PR branch
   3. Post a result comment:
      - Success: "Branch updated successfully"
      - Already up to date: "Branch is already up to date"
      - Conflict: "Cannot update branch -- merge conflicts. Manual resolution 
required."
      - Fork PR: "Cannot update branch for fork PRs. The author must update it 
manually."
   
   ## Scope
   
   - Same permission model as `/component-test` (MEMBER/OWNER/CONTRIBUTOR only)
   - Only works for branches in `apache/camel` (not fork PRs -- can't push to 
forks)
   - Uses merge (not rebase) to avoid force-push and preserve history
   
   ## Use cases
   
   - Updating container upgrade PRs to pick up CI fixes
   - Keeping automated PRs current without manual git operations
   - Any PR that needs the latest main changes


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to