Bump Contributor Covenant Code of Conduct from 2.0 to version 2.1 #304
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: Approve PRs | |
on: | |
workflow_dispatch: | |
issue_comment: | |
types: [created] | |
jobs: | |
autoapprove: | |
# This job only runs for pull request comments by approved users on creation | |
name: PR comment | |
if: github.event.issue.pull_request && | |
contains(github.event.comment.body, 'LGTM') && ( | |
github.event.comment.user.login == 'tkoyama010' | |
) | |
permissions: | |
pull-requests: write | |
runs-on: ubuntu-latest | |
steps: | |
- uses: hmarr/auto-approve-action@v4 | |
with: | |
review-message: ":white_check_mark: Approving this PR because [${{ github.event.comment.user.login }}](https://github.com/${{ github.event.comment.user.login }}) said so in [here](${{ github.event.comment.html_url }}) :shipit:" | |
pull-request-number: ${{ github.event.issue.number }} | |
github-token: ${{ secrets.GITHUB_TOKEN }} |