feat: update prettier workflow

This commit is contained in:
yanglbme 2020-10-20 19:11:44 +08:00
parent 9251cc4128
commit 12695bab13
2 changed files with 2 additions and 0 deletions

View File

@ -20,5 +20,6 @@ jobs:
uses: creyD/prettier_action@v3.0
with:
prettier_options: --write **/*.{html,js,md}
commit_message: 'docs: prettify code'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

View File

@ -1,6 +1,7 @@
# 互联网 Java 工程师进阶知识完全扫盲
[![actions status](https://github.com/doocs/advanced-java/workflows/Sync/badge.svg)](https://github.com/doocs/advanced-java/actions)
[![actions status](https://github.com/doocs/advanced-java/workflows/Prettier/badge.svg)](https://github.com/doocs/advanced-java/actions)
[![license](https://badgen.net/github/license/doocs/advanced-java?color=green)](https://github.com/doocs/advanced-java/blob/master/LICENSE)
[![PRs Welcome](https://badgen.net/badge/PRs/welcome/green)](http://makeapullrequest.com)
[![doocs](https://badgen.net/badge/organization/join%20us/green)](https://doocs.github.io/#/?id=how-to-join)