From ab138c0b32f40b94fab605626beea49c11ffa74f Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Wed, 4 May 2022 22:54:41 +0200 Subject: [PATCH] dev(ci): read scopes from local modules/docs Instead of (only) reading the workflow's internal doomemacs install. Amend: 0f6a653a1376 --- .github/ci.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/ci.el b/.github/ci.el index 38449e719..d8ba11bf2 100644 --- a/.github/ci.el +++ b/.github/ci.el @@ -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