NOTICE: By continued use of this site you understand and agree to the binding Terms of Service and Privacy Policy.
一个油猴脚本,为 linuxdeepin 组织的 GitHub PR 页面添加快捷 Merge 按钮,一键触发 /forcemerge 流程。
在 linuxdeepin 的日常开发流程中,合并 PR 通常需要在评论框中手动输入 /forcemerge 命令。这个脚本将这一操作简化为一个按钮点击,减少重复操作。
/forcemergedeepin-pr-quick-merge.user.js 文件拖入浏览器安装仅对以下 URL 格式的页面生效:
https://github.com/linuxdeepin/*/pull/*
即 linuxdeepin 组织下所有仓库的 Pull Request 页面。不会影响其他用户或组织的 GitHub 页面。
| 浏览器扩展 | 支持 |
|---|---|
| Tampermonkey | ✅ |
| Violentmonkey | ✅ |
| Greasemonkey 4+ | ✅ |
MutationObserver 监听 DOM 变化,兼容 GitHub 的 SPA 路由切换Rating: 0