Skip to content

Add a GitHub Repo stars badge to show star number #1

Add a GitHub Repo stars badge to show star number

Add a GitHub Repo stars badge to show star number #1

Workflow file for this run

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

View workflow run for this annotation

GitHub Actions / Approve PRs

Invalid workflow file

The workflow is not valid. .github/workflows/auto-approve.yml (Line: 11, Col: 9): Unexpected symbol: ')'. Located at position 151 within expression: github.event.issue.pull_request && contains(github.event.comment.body, 'github-actions LGTM') && ( github.event.comment.user.login == 'tkoyama010' || )
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 }}