From 4e66bbb76b6cacf8751d9f20fec9a9e426898f80 Mon Sep 17 00:00:00 2001 From: Cody Soyland Date: Mon, 12 Oct 2020 15:18:58 -0500 Subject: [PATCH] Check for changelog label in CI --- .circleci/config.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 86814df27..ca2b39854 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -62,6 +62,11 @@ jobs: - checkout-plus - run: go mod tidy - run: git diff --exit-code -- go.mod go.sum + check-changelog-label: + executor: + name: golang + steps: + - run: curl https://moleculacorp:$GITHUB_PERSONAL_ACCESS_TOKEN@api.github.com/repos/molecula/pilosa/pulls/$CIRCLE_PR_NUMBER | jq "[.labels[] | .name | startswith(\"changelog\")] | any" -e test-build-arm: executor: name: golang @@ -178,6 +183,9 @@ workflows: - go-mod-tidy: requires: - setup + - check-changelog-label: + requires: + - setup - test-build-arm: requires: - setup