From 4ffadc387c17c6e3d300d2f9bef4d00249a34523 Mon Sep 17 00:00:00 2001 From: "D. Moonfire" Date: Mon, 15 Apr 2019 19:13:17 -0500 Subject: [PATCH] ci: made it a protected branch instead --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5fcc4f0..b9a0a11 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -12,7 +12,7 @@ publish: - npm ci # Verify that the commits are good. - - npx commitlint --from=HEAD~1 + - npx commitlint --from=$CI_BUILD_BEFORE_SHA # We need the covers and the previous version so we can generate the # "previously" chapter.