π Inserts Contributor & Sponsors #13
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
# Inserts list of contributors and community members into ./README.md | |
name: π Inserts Contributor & Sponsors | |
on: | |
workflow_dispatch: # Manual dispatch | |
schedule: | |
- cron: '30 1 * * 0' # At 01:30 on Sunday. | |
jobs: | |
# Job #1 - Fetches sponsors and inserts table into readme | |
insert-sponsors: | |
runs-on: ubuntu-latest | |
name: Inserts Sponsors π | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Updates readme with sponsors | |
uses: JamesIves/github-sponsors-readme-action@1.0.5 | |
with: | |
token: ${{ secrets.BOT_TOKEN || secrets.GITHUB_TOKEN }} | |
file: 'README.md' | |
# Job #2 - Fetches contributors and inserts table into readme | |
insert-contributors: | |
runs-on: ubuntu-latest | |
name: Inserts Contributors π | |
steps: | |
- name: Updates readme with contributors | |
uses: akhilmhdh/contributors-readme-action@v2.3.4 | |
env: | |
GITHUB_TOKEN: ${{ secrets.BOT_TOKEN || secrets.GITHUB_TOKEN }} | |
with: | |
image_size: 80 | |
readme_path: README.md | |
columns_per_row: 6 | |
commit_message: 'docs: Updates contributors list' | |
committer_username: liss-bot | |
committer_email: liss-bot@d0h.co |