[Chore] Update Contributors SVG (#358) #77
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Contributors | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
contributors: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: wow-actions/contributors-list@v1 | |
with: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
svgPath: CONTRIBUTORS.svg | |
sort: true | |
round: true | |
includeBots: false | |
userNameHeight: 19 | |
# This job does not have commit powers to the `master` branch | |
noCommit: true | |
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> | |
- name: Create Pull Request | |
uses: peter-evans/create-pull-request@v6 | |
with: | |
commit-message: "[Chore] Update Contributors SVG" | |
title: "[Chore] Update Contributors SVG" | |
delete-branch: true | |
assignees: dmattia | |
reviewers: dmattia |