A GitHub action to automate acknowledging contributors to your open source projects
name: "all-contributors"
on:
issue_comment:
types: [created]
pull_request_review_comment:
types: [created]
jobs:
add-contributors:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: sinchang/all-contributors-action@master
env:
GITHUB_REPOSITORY: ${{ secrets.GITHUB_REPOSITORY }}
- uses: gr2m/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
branch: ${{ env.branch }}
body: ${{ env.body }}
title: ${{ env.title }}
commit-message: ${{ env.commitMessage }}
- make sure complete repository filed on package.json.
- more config about
gr2m/create-or-update-pull-request-action
can see on https://github.com/gr2m/create-or-update-pull-request-action
comment on the issue or pull request like below words.
@all-contributors-action please add @sinchang for infra
MIT