Skip to content

Commit

Permalink
Try arrays
Browse files Browse the repository at this point in the history
  • Loading branch information
sanmai committed Feb 17, 2024
1 parent c36cad0 commit 8ecf191
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/autoapprove.yaml
Expand Up @@ -5,6 +5,9 @@ name: PR Approval
on:
pull_request:

env:
LINES: ("Cool" "Nice")

jobs:
approve_pr:
name: Automatic Approval
Expand All @@ -16,4 +19,4 @@ jobs:
env:
GH_TOKEN: ${{ github.token }}
run: |
fortune | gh pr review ${{ github.event.pull_request.html_url }} --approve --body -
gh pr review ${{ github.event.pull_request.html_url }} --approve --body "${LINES[RANDOM%${#LINES[@]}]}"

0 comments on commit 8ecf191

Please sign in to comment.