Skip to content

Update .all-contributorsrc #20

Update .all-contributorsrc

Update .all-contributorsrc #20

name: Add All Contributors
on:
push:
branches:
- master
pull_request:
branches:
- master
workflow_dispatch:
jobs:
add-contributors:
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Install all-contributors-cli
run: npm install -g all-contributors-cli
- name: Add contributors
run: |
all-contributors add @${{ github.actor }} code
git commit -am "docs: add all contributors"
git push
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}