From da2f93e3372392ad0678577f264c0a04acb2101f Mon Sep 17 00:00:00 2001 From: Alicia Sykes Date: Thu, 12 Aug 2021 22:31:54 +0100 Subject: [PATCH] :construction_worker: Updates Credits action --- .github/workflows/generate-credits.yml | 46 ++++++++++++++++---------- 1 file changed, 29 insertions(+), 17 deletions(-) diff --git a/.github/workflows/generate-credits.yml b/.github/workflows/generate-credits.yml index 821ba113..e2848d60 100644 --- a/.github/workflows/generate-credits.yml +++ b/.github/workflows/generate-credits.yml @@ -6,23 +6,7 @@ on: schedule: - cron: '0 1 * * 0' # At 01:00 on Sunday. jobs: - # Job #1 - Update the Credits page - insert-credits: - runs-on: ubuntu-latest - name: Inserts contributors into credits.md - steps: - - name: Contribute List - uses: akhilmhdh/contributors-readme-action@v2.2 - env: - GITHUB_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN }} - with: - image_size: 80 - readme_path: docs/credits.md - columns_per_row: 6 - commit_message: ':yellow_heart: Updates contributors list' - committer_username: liss-bot - committer_email: liss-bot@d0h.co - # Job #2 - Generate an embedded SVG asset, showing all contributors + # Job #1 - Generate an embedded SVG asset, showing all contributors generate-contributors: runs-on: ubuntu-latest steps: @@ -37,4 +21,32 @@ jobs: userNameHeight: 20 svgWidth: 830 commitMessage: ':blue_heart: Updates contributor SVG' + # Job #2 - Update the Credits page + insert-credits: + runs-on: ubuntu-latest + name: Inserts contributors into credits.md + steps: + - name: Contribute List - Credits Page + uses: akhilmhdh/contributors-readme-action@v2.2 + env: + GITHUB_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN }} + with: + image_size: 80 + readme_path: docs/credits.md + columns_per_row: 6 + commit_message: ':purple_heart: Updates contributors list' + committer_username: liss-bot + committer_email: liss-bot@d0h.co + - name: Sponsors List - Readme + uses: akhilmhdh/contributors-readme-action@v2.2 + env: + GITHUB_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN }} + with: + image_size: 80 + readme_path: README.md + columns_per_row: 6 + commit_message: ':yellow_heart: Updates sponsors table' + committer_username: liss-bot + committer_email: liss-bot@d0h.co +