diff options
| author | Thomas Voss <thomas.voss@humanwave.nl> | 2026-01-27 22:18:14 +0100 |
|---|---|---|
| committer | Thomas Voss <thomas.voss@humanwave.nl> | 2026-01-27 22:18:14 +0100 |
| commit | 970e0da8609bd8750931b318cb465a680578cf65 (patch) | |
| tree | a5cdc2a206c14b85119b7a8e2ed4dc758008e31b /.config | |
| parent | 6ccda7cca5b5cf1d055eaef7471ad95f4c3a3ec8 (diff) | |
emacs: Make patch PRs on release
Diffstat (limited to '.config')
| -rw-r--r-- | .config/emacs/site-lisp/gh.el | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/.config/emacs/site-lisp/gh.el b/.config/emacs/site-lisp/gh.el index 23086e5..9f7d348 100644 --- a/.config/emacs/site-lisp/gh.el +++ b/.config/emacs/site-lisp/gh.el @@ -26,7 +26,9 @@ via `gh-get-labels'." (label-string (mapconcat #'identity labels ","))) ;; TODO: Remove this (when (string= project "blixem") - (setq title (format "%s %s" (car (vc-git-branches)) title))) + (setq title (format "%s %s" (car (vc-git-branches)) title)) + (when (member "Patch" labels) + (setq flags (append flags '("--base" "release"))))) (setq flags (append flags `("--title" ,title))) (when draftp (setq flags (append flags '("--draft")))) |