diff --git a/.github/workflows/prettier.yml b/.github/workflows/prettier.yml index 39ce23f..3aaff7d 100644 --- a/.github/workflows/prettier.yml +++ b/.github/workflows/prettier.yml @@ -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 }} \ No newline at end of file diff --git a/README.md b/README.md index 56e6517..7afb199 100644 --- a/README.md +++ b/README.md @@ -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)