mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
dev(ci): read scopes from local modules/docs
Instead of (only) reading the workflow's internal doomemacs install.
Amend: 0f6a653a13
This commit is contained in:
5
.github/ci.el
vendored
5
.github/ci.el
vendored
@ -22,7 +22,8 @@
|
||||
#'doom-glob (if (string-prefix-p ":" scope)
|
||||
(format "%s" (substring scope 1))
|
||||
(format "*/%s" scope)))
|
||||
doom-modules-dirs))
|
||||
(list (doom-dir (dir!) "../modules/")
|
||||
(doom-dir doom-private-dir "modules/"))))
|
||||
|
||||
(cl-defun ci-docs-scope (scope (&key type))
|
||||
"Allow any filename in docs/* as a scope for docs commits."
|
||||
@ -30,6 +31,6 @@
|
||||
(member scope
|
||||
(cons "install"
|
||||
(mapcar #'file-name-base
|
||||
(doom-glob doom-docs-dir "*.org"))))))
|
||||
(doom-glob (dir!) "../docs/*.org"))))))
|
||||
|
||||
;;; ci.el ends here
|
||||
|
Reference in New Issue
Block a user