Update contributors.yml

This commit is contained in:
MD AL AMIN TALUKDAR 2023-06-02 07:36:11 +05:30 committed by GitHub
parent e7701e1014
commit a528f40a8b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -16,25 +16,23 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # v3.5.0
uses: actions/checkout@v3.5.0
with:
fetch-depth: 0
ref: ${{ github.event.repository.default_branch }}
- name: Update contributors list
uses: wow-actions/contributors-list@b9e91f91a51a55460fdcae64daad0cb8122cdd53 # v1.1.0
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
svgPath: images/contributors_list.svg
round: true
includeBots: false
noCommit: true
- name: Generate contributors list
run: |
echo '<a href="https://github.com/neon-mmd/websurfx/graphs/contributors">' >> contributors_list.html
echo ' <img src="https://contrib.rocks/image?repo=neon-mmd/websurfx" />' >> contributors_list.html
echo '</a>' >> contributors_list.html
shell: bash
- name: Commit & PR
uses: peter-evans/create-pull-request@38e0b6e68b4c852a5500a94740f0e535e0d7ba54 # v4.2.4
uses: peter-evans/create-pull-request@v4.2.4
with:
token: ${{ secrets.GITHUB_TOKEN }}
add-paths: .github/assets/CONTRIBUTORS.svg
add-paths: contributors_list.html
commit-message: 'chore: update contributors-list'
committer: GitHub <noreply@github.com>
author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>
@ -44,4 +42,4 @@ jobs:
delete-branch: true
title: 'chore: update contributors-list'
body: |
Automated update to `images/contributors_list.svg`
Automated update to `contributors_list.html`