Skip to content

Commit

Permalink
Merge 231f473 into f02bccb
Browse files Browse the repository at this point in the history
  • Loading branch information
sanmai committed Feb 17, 2024
2 parents f02bccb + 231f473 commit 532ba05
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/autoapprove.yaml
Expand Up @@ -5,6 +5,12 @@ name: PR Approval
on:
pull_request:

env:
LINES: >-
"Whatever you say!"
"Isn't this exciting? I know I'm excited!"
"I have a good feeling about this! It's going to be great!"
jobs:
approve_pr:
name: Automatic Approval
Expand All @@ -16,4 +22,5 @@ jobs:
env:
GH_TOKEN: ${{ github.token }}
run: |
gh pr review ${{ github.event.pull_request.html_url }} --approve
shuf -n 1 -e ${{ env.LINES }} |
gh pr review ${{ github.event.pull_request.html_url }} --approve --body-file -

0 comments on commit 532ba05

Please sign in to comment.