RG-T117 Fixes for Redis and Chatbot #892
This file contains hidden or 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: Auto approve | |
| on: | |
| issue_comment: | |
| types: | |
| - created | |
| jobs: | |
| auto-approve: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| pull-requests: write | |
| steps: | |
| - uses: actions/github-script@v6 | |
| name: Approve LGTM Review | |
| if: github.actor == 'ucswift' && contains(github.event.comment.body, 'Approve') | |
| with: | |
| script: | | |
| github.rest.pulls.createReview({ | |
| owner: context.repo.owner, | |
| repo: context.repo.repo, | |
| pull_number: context.issue.number, | |
| review_id: 1, | |
| event: 'APPROVE', | |
| body: 'This PR is approved.' | |
| }) |