diff --git a/.github/workflows/contributors.yml b/.github/workflows/contributors.yml new file mode 100644 index 0000000..789b828 --- /dev/null +++ b/.github/workflows/contributors.yml @@ -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: '' + closeDelimiter: '' + path: README.md + body: '${{steps.contributors.outputs.htmlList}}' \ No newline at end of file diff --git a/README.md b/README.md index 1ac282e..03dd176 100644 --- a/README.md +++ b/README.md @@ -38,14 +38,7 @@ You can change the dashboard language in the settings page (`/setting`) after th ## Contributors - - - - - - - - + ## Star History