Skip to content

Commit

Permalink
Complain if the changelog isn't compliant. (#3124)
Browse files Browse the repository at this point in the history
* Complain if the changelog isn't compliant.

* swap to hashicorpdev.
  • Loading branch information
nat-henderson authored Feb 13, 2020
1 parent 896a8ad commit 4b1c684
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .ci/containers/changelog-checker/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
FROM hashicorpdev/go-changelog

ENV GITHUB_REPO=magic-modules
ENV GITHUB_OWNER=GoogleCloudPlatform

ENTRYPOINT ["/go-changelog/changelog-pr-body-check"]
6 changes: 6 additions & 0 deletions .ci/gcb-generate-diffs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,12 @@ steps:
args:
- $_PR_NUMBER

- name: 'gcr.io/graphite-docker-images/changelog-checker'
secretEnv: ["GITHUB_TOKEN"]
waitFor: ["diff"]
args:
- $_PR_NUMBER

- name: 'gcr.io/graphite-docker-images/terraform-tester'
secretEnv: ["GITHUB_TOKEN"]
waitFor: ["diff"]
Expand Down

0 comments on commit 4b1c684

Please sign in to comment.