Merge pull request #964 from codysoyland/check-changelog-label

Check for changelog label in CI
This commit is contained in:
Cody Soyland 2020-10-14 10:11:45 -05:00 committed by GitHub
commit e1e0b298f5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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,13 @@ workflows:
- go-mod-tidy:
requires:
- setup
- check-changelog-label:
requires:
- setup
# the following should make this only run on pull requests
filters:
branches:
only: /^pull\/.*$/
- test-build-arm:
requires:
- setup