diff options
author | Ben Gamari <ben@smart-cactus.org> | 2019-03-25 12:57:08 -0400 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2019-03-29 14:18:20 -0400 |
commit | 1a567133f291234f3921b5badaae8a2de6d19ce0 (patch) | |
tree | 9ed7e066ff46839d4ea113b02bf346b3b9a7571d | |
parent | 754b5455aa0983c7702546a6c64061c95733997a (diff) | |
download | haskell-1a567133f291234f3921b5badaae8a2de6d19ce0.tar.gz |
ci: Check that changelogs don't contain "TBA"
This ensures that the release dates in the library changelogs are
properly set.
-rw-r--r-- | .gitlab-ci.yml | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a30c407d03..9e6b3f62cf 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -89,6 +89,32 @@ lint-submods-mr: refs: - merge_requests +.lint-changelogs: + stage: lint + image: "registry.gitlab.haskell.org/ghc/ci-images/linters:$DOCKER_REV" + dependencies: [] + tags: + - lint + script: + - | + grep TBA libraries/*/changelog.md && ( + echo "Error: Found \"TBA\"s in changelogs." + exit 1 + ) + +lint-changelogs: + extends: .lint-changelogs + allow_failure: true + only: + refs: + - /ghc-[0-9]+\.[0-9]+/ + +lint-release-changelogs: + extends: .lint-changelogs + only: + - tags + + ############################################################ # Validation via Pipelines (hadrian) ############################################################ |