wechaty / bot5

Bot Friday Club - BOT5
https://bot5.ml
Apache License 2.0
39 stars 55 forks source link

Add blog posts & author information checking to CI for automation #173

Open huan opened 4 years ago

huan commented 4 years ago

We are always experiencing the following problems when a new blog post PR was created:

  1. leak of author information
    1. put wrong GitHub username in the post
    2. no username entry in authors.yaml
    3. etc...
  2. broken YAML format (this will break the GitHub Pages build, e.g. #141 )
  3. no teaser image
  4. to be added.

We should write a script and guard all of the above problems in our CI system, so we will find them easy and solve them in the PR before they merged.