Contributors #119
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: | |
schedule: | |
- cron: '0 1 * * 0' # At 01:00 on Sunday. | |
push: | |
branches: | |
- master | |
- main | |
jobs: | |
contributors: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
# Changes for the PR | |
- uses: wow-actions/contributors-list@v1 | |
with: | |
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> | |
noCommit: true | |
- name: Create Pull Request | |
uses: peter-evans/create-pull-request@v6 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
commit-message: Update Contributors | |
title: Update contributors on the readme | |
body: Update readme to reflect contributors changes | |
branch: update-readme | |
base: main |