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:
parent
47d1b82382
commit
ab138c0b32
1 changed files with 3 additions and 2 deletions
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue