Skip to content

Commit

Permalink
Merge #350
Browse files Browse the repository at this point in the history
350: Enforce changelog updates through ci r=lachlansneff a=lachlansneff

This PR enforces that the changelog is updated for every PR through a CI job.

Co-authored-by: Lachlan Sneff <[email protected]>
  • Loading branch information
bors[bot] and lachlansneff committed Apr 12, 2019
2 parents 7c6f37c + 8af4888 commit e6e3ba5
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,14 @@ run_install_dependencies: &run_install_dependencies
version: 2
jobs:
changelog:
docker:
- image: docker:stable-git
steps:
- checkout
- run:
command: ! git diff --exit-code CHANGELOG.md

# Job used for testing
lint:
docker:
Expand Down Expand Up @@ -351,6 +359,7 @@ workflows:
version: 2
main:
jobs:
- changelog
- lint
- test:
filters:
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ All PRs to the Wasmer repository must add to this file.
Blocks of changes will separated by version increments.

## **[Unreleased]**
- [#350](https://github.com/wasmerio/wasmer/pull/350) Enforce that CHANGELOG.md is updated through CI.
- [#349](https://github.com/wasmerio/wasmer/pull/349) Add [CHANGELOG.md](https://github.com/wasmerio/wasmer/blob/master/CHANGELOG.md).

0 comments on commit e6e3ba5

Please sign in to comment.