Add a GitHub Repo stars badge to show star number #1
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 && | ||
Check failure on line 11 in .github/workflows/auto-approve.yml GitHub Actions / Approve PRsInvalid workflow file
|
||
contains(github.event.comment.body, 'github-actions LGTM') && ( | ||
github.event.comment.user.login == 'tkoyama010' || | ||
) | ||
permissions: | ||
pull-requests: write | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: hmarr/auto-approve-action@v3 | ||
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 }} |