📝 Docs: update docs #272
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Generate Contribute List | |
on: | |
push: | |
branches: | |
- master | |
workflow_dispatch: | |
jobs: | |
contrib-readme-job: | |
runs-on: ubuntu-latest | |
name: A job to automate contribute list in contributors.md file | |
steps: | |
- name: First Contribution Check | |
id: first-check | |
uses: sukki37/[email protected] | |
env: | |
GITHUB_TOKEN: ${{ secrets.CONTRIBUTORS_TOKEN }} | |
- name: Contribute List | |
uses: akhilmhdh/contributors-readme-action@master | |
if: ${{ steps.first-check.outputs.isNewContributor == 'true' }} | |
with: | |
readme_path: "contributors.md" | |
image_size: 100 | |
commit_message: ":busts_in_silhouette: Chore(contributor): contrib-readme-action has updated contributors.md" | |
committer_username: "github-actions[bot]" | |
committer_email: "github-actions[bot]@users.noreply.github.com" | |
env: | |
GITHUB_TOKEN: ${{ secrets.CONTRIBUTORS_TOKEN }} |