add contributors to readme

This commit is contained in:
naiba 2023-05-08 12:45:32 +08:00 committed by GitHub
parent b9c5df8604
commit b8fe354145
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 29 additions and 8 deletions

28
.github/workflows/contributors.yml vendored Normal file
View File

@ -0,0 +1,28 @@
name: contributors
on:
push:
branches: [main]
jobs:
contributors:
runs-on: ubuntu-latest
steps:
- name: Generate Contributors Images
uses: jaywcjlove/github-action-contributors@main
id: contributors
with:
filter-author: (renovate\[bot\]|renovate-bot|dependabot\[bot\])
hideName: 'false' # Hide names in htmlTable
avatarSize: 66 # Set the avatar size.
truncate: 6
avatarMargin: 6
- name: Modify htmlTable README.md
uses: jaywcjlove/github-action-modify-file-content@main
with:
message: update contributors[no ci]
openDelimiter: '<!--GAMFC_DELIMITER-->'
closeDelimiter: '<!--GAMFC_DELIMITER_END-->'
path: README.md
body: '${{steps.contributors.outputs.htmlList}}'

View File

@ -38,14 +38,7 @@ You can change the dashboard language in the settings page (`/setting`) after th
## Contributors
<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
<!-- prettier-ignore-start -->
<!-- markdownlint-disable -->
<!-- markdownlint-restore -->
<!-- prettier-ignore-end -->
<!-- ALL-CONTRIBUTORS-LIST:END -->
<!--GAMFC_DELIMITER--><!--GAMFC_DELIMITER_END-->
## Star History