From 8b977bcab43c06a1f8f38ac750ed7f06f012d590 Mon Sep 17 00:00:00 2001 From: Lea Anthony Date: Tue, 11 Apr 2023 20:46:28 +1000 Subject: [PATCH] Update generate-contributors.yml --- .github/workflows/generate-contributors.yml | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/.github/workflows/generate-contributors.yml b/.github/workflows/generate-contributors.yml index 8684b72a..6b11c5bb 100644 --- a/.github/workflows/generate-contributors.yml +++ b/.github/workflows/generate-contributors.yml @@ -14,16 +14,24 @@ jobs: steps: - uses: actions/checkout@v3 - uses: jaywcjlove/github-action-contributors@main + id: contributors with: filter-author: (renovate\[bot\]|renovate-bot|dependabot\[bot\]) - output: website/static/img/contributors.svg - avatarSize: 42 + openDelimiter: '' + closeDelimiter: '' + avatarSize: 100 # Set the avatar size. + + - name: Modify htmlTable credits.md + uses: jaywcjlove/github-action-modify-file-content@main + with: + path: website/src/pages/credits.mdx + body: '${{steps.contributors.outputs.htmlTable}}' - name: Create Pull Request uses: peter-evans/create-pull-request@v4 with: commit-message: "chore: update contributors.svg" - add-paths: "website/static/img/contributors.svg" + add-paths: "website/src/pages/credits.mdx" title: Update Contributors Image body: Generated new image branch: chore/update-contributors