From 5660ad20ddbc79274973c232da2bdf91cabb5c4b Mon Sep 17 00:00:00 2001 From: jaywcjlove <398188662@qq.com> Date: Sun, 13 Nov 2022 02:47:29 +0800 Subject: [PATCH] chore: update contributors. --- .github/workflows/ci.yml | 15 +++++++++++++++ CONTRIBUTING.md | 15 ++++++++++++++- README.md | 4 +--- 3 files changed, 30 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0ea03c9..5ab9d84 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,11 +18,26 @@ jobs: - name: Generate Contributors Images uses: jaywcjlove/github-action-contributors@main + id: contributors with: filter-author: (renovate\[bot\]|renovate-bot|dependabot\[bot\]) output: dist/CONTRIBUTORS.svg avatarSize: 42 + - name: Modify CONTRIBUTING.md + uses: jaywcjlove/github-action-modify-file-content@main + with: + path: CONTRIBUTING.md + body: | + ${{steps.contributors.outputs.htmlList}} + + - name: Modify README.md + uses: jaywcjlove/github-action-modify-file-content@main + with: + path: README.md + body: | + ${{steps.contributors.outputs.htmlList}} + - name: Create Tag id: create_tag uses: jaywcjlove/create-tag-action@main diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 62d6d1f..a480347 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -83,4 +83,17 @@ npm run build # 编译输出 HTML npm run start # 监听 md 文件编译输出 HTML ``` -- 或者你也可以使用 `pnpm` 或者 `yarn` 做为包管理器 +或者你也可以使用 `pnpm` 或者 `yarn` 做为包管理器 + + +## 贡献 + +请参阅[贡献指南](./CONTRIBUTING.md)了解如何开始。一如既往,感谢我们出色的贡献者! + + + +上图贡献者列表,由 [contributors](https://github.com/jaywcjlove/github-action-contributors) 自动生成贡献者图片。 + +## License + +MIT © [Kenny Wong](https://github.com/jaywcjlove) diff --git a/README.md b/README.md index a26aaa9..c8fc313 100644 --- a/README.md +++ b/README.md @@ -152,9 +152,7 @@ Quick Reference 请参阅[贡献指南](./CONTRIBUTING.md)了解如何开始。一如既往,感谢我们出色的贡献者! - - - + 上图贡献者列表,由 [contributors](https://github.com/jaywcjlove/github-action-contributors) 自动生成贡献者图片。