Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 9f895898189e7e34e5750971e58827056bdb0ee9
      
https://github.com/WebKit/WebKit/commit/9f895898189e7e34e5750971e58827056bdb0ee9
  Author: Ryan Haddad <[email protected]>
  Date:   2026-07-08 (Wed, 08 Jul 2026)

  Changed paths:
    M Tools/WebKitBot/src/WebKitBot.mjs

  Log Message:
  -----------
  [webkit-bot] Route the revert and rollout commands through git-webkit when 
USE_GIT_WEBKIT_REVERT is enabled
https://bugs.webkit.org/show_bug.cgi?id=318281
rdar://181070392

Reviewed by Aakash Jain.

The revert-with-pr command creates reverts as GitHub PRs via git-webkit, but 
the revert and
rollout commands still always use the webkit-patch (Bugzilla) flow. Gate 
generateRevertingPatch()
so that when USE_GIT_WEBKIT_REVERT is enabled, revert and rollout produce 
git-webkit PRs.

* Tools/WebKitBot/src/WebKitBot.mjs:
- generateRevertingPatch: When USE_GIT_WEBKIT_REVERT is enabled, delegate to
  generateRevertingPatchWithGitWebkit instead of using webkit-patch.
- revertCommand: Detect a bug URL argument when the flag is enabled (not only 
for
  revert-with-pr), so revert and rollout can also reuse an existing bug.
- action: Thread issueUrl through the "revert" task case.

Canonical link: https://commits.webkit.org/316743@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to