Check for changelog label in CI

This commit is contained in:
Cody Soyland 2020-10-12 15:18:58 -05:00
parent 6c14aa965d
commit 4e66bbb76b

View file

@ -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