Skip to content

Commit

Permalink
Create update-contributors.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
JQCVSC authored Jul 13, 2024
1 parent 08d9e33 commit 2bc784e
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/update-contributors.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Update Contributors List
on:
workflow_dispatch:
push:
branches:
- main
pull_request:
types: [closed]

jobs:
update-contributors:
runs-on: ubuntu-latest
name: Update project contributors in README
permissions:
contents: write
pull-requests: write
steps:
- uses: actions/checkout@v2
- name: Update Contributors List
uses: akhilmhdh/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
readme_path: 'README.md'
collaborators: 'all'
max_contributors: 10
contributor_template: '<a href="https://github.com/#{contributor}"><img src="#{avatar}" width="50px" alt="#{name}" /></a>'
commit_message: 'docs: update contributors list'

0 comments on commit 2bc784e

Please sign in to comment.