diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index ba789c54c..ec42e694f 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -11,4 +11,4 @@ jobs: - uses: actions/checkout@v2.3.1 with: fetch-depth: 0 - - run: bin/doom ci lint-commits HEAD~1 + - run: bin/doom ci lint-commits ${{ github.event.pull_request.base.sha }} ${{ github.event.pull_request.head.sha }} diff --git a/core/cli/ci.el b/core/cli/ci.el index a0bab42d2..516f3dd49 100644 --- a/core/cli/ci.el +++ b/core/cli/ci.el @@ -144,7 +144,7 @@ (insert (cdr (doom-call-process "git" "log" - (format "%s...%s" from (or to "HEAD"))))) + (format "%s..%s" from (or to "HEAD"))))) (while (re-search-backward "^commit \\([a-z0-9]\\{40\\}\\)" nil t) (push (cons (match-string 1) (replace-regexp-in-string