mirror of
https://github.com/nezhahq/nezha.git
synced 2025-01-22 12:48:14 -05:00
add contributors to readme
This commit is contained in:
parent
b9c5df8604
commit
b8fe354145
28
.github/workflows/contributors.yml
vendored
Normal file
28
.github/workflows/contributors.yml
vendored
Normal 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}}'
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user