update contributors

This commit is contained in:
Tw93
2025-11-17 11:35:31 +08:00
parent 0f14587c25
commit 9f44dff97b
5 changed files with 34 additions and 1073 deletions

View File

@@ -19,31 +19,16 @@ jobs:
token: ${{ secrets.GITHUB_TOKEN }}
fetch-depth: 0
- name: Update Contributors in README.md
uses: akhilmhdh/contributors-readme-action@v2.3.11
- name: Generate contributors SVG
uses: wow-actions/contributors-list@v1
with:
image_size: 90
columns_per_row: 7
auto_detect_branch_protection: false
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Update Contributors in README_CN.md
uses: akhilmhdh/contributors-readme-action@v2.3.11
with:
image_size: 90
columns_per_row: 7
readme_path: README_CN.md
auto_detect_branch_protection: false
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Update Contributors in README_JP.md
uses: akhilmhdh/contributors-readme-action@v2.3.11
with:
image_size: 90
columns_per_row: 7
readme_path: README_JP.md
auto_detect_branch_protection: false
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
svgPath: CONTRIBUTORS.svg
userNameHeight: 19
itemTemplate: |
<g transform="translate({{ x }}, {{ y }})">
<a xlink:href="{{{ url }}}" class="contributor-link" target="_blank" rel="nofollow sponsored" title="{{{ name }}}" id="{{{ name }}}">
<image width="{{ width }}" height="{{ height }}" xlink:href="{{{ avatar }}}" />
<text x="32" y="74" text-anchor="middle" alignment-baseline="middle" font-size="10">{{{ name }}}</text>
</a>
</g>