Skip to content

Commit

Permalink
Add more authors and update syntax for bot approval (#5311)
Browse files Browse the repository at this point in the history
  • Loading branch information
banesullivan committed Dec 9, 2023
1 parent f581a23 commit ca415e5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/auto-approve.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:

env:
# sintax: ("tkoyama010" "author2")
ALLOWED_AUTHORS: ("tkoyama010")
ALLOWED_AUTHORS: ("tkoyama010", "banesullivan", "akaszynski")

jobs:
autoapprove:
Expand All @@ -19,7 +19,7 @@ jobs:
steps:
- uses: hmarr/auto-approve-action@v3
if: |
contains(github.event.comment.body, 'LGTM') && contains(env.ALLOWED_AUTHORS, github.event.comment.user.login)
contains(github.event.comment.body, '@pyvista-bot LGTM') && contains(env.ALLOWED_AUTHORS, github.event.comment.user.login)
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 }}) :grimacing:"
pull-request-number: ${{ github.event.issue.number }}
Expand Down

1 comment on commit ca415e5

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.