feat: add automated contributors hall of fame with GitHub profile photos

Co-authored-by: Stalin-143 <161853795+Stalin-143@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-01-22 04:03:41 +00:00
parent b6bf6b5091
commit 79df408cf8
4 changed files with 87 additions and 2 deletions
+38
View File
@@ -0,0 +1,38 @@
name: Add Contributors
on:
pull_request_target:
types: [closed]
issues:
types: [closed]
push:
branches:
- main
permissions:
contents: write
pull-requests: write
jobs:
add-contributors:
runs-on: ubuntu-latest
if: github.event_name == 'push' || (github.event_name == 'pull_request_target' && github.event.pull_request.merged == true)
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ secrets.GITHUB_TOKEN }}
- name: Update contributors
uses: akhilmhdh/contributors-readme-action@v2.3.6
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
image_size: 100
columns_per_row: 6
collaborators: 'all'
committer_username: 'github-actions[bot]'
committer_email: '41898282+github-actions[bot]@users.noreply.github.com'
commit_message: 'docs: update contributors list'
readme_path: 'CONTRIBUTORS.md'