Skip to content

Commit

Permalink
Try again
Browse files Browse the repository at this point in the history
  • Loading branch information
sanmai committed Feb 17, 2024
1 parent e7bf3ec commit 0edff5c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/autoapprove.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,15 @@ name: PR Approval

on:
pull_request:
types:
- opened
- synchronize

jobs:
your_job_name:
runs-on: ubuntu-latest

steps:
- name: Auto-approve repository owner's PR
env:
GH_TOKEN: ${{ github.token }}
run: |
PR_AUTHOR=$(gh pr view ${{ github.event.number }} --json user.login -q '.user.login')
if [[ "${{ github.actor }}" == "${PR_AUTHOR}" ]]; then
Expand Down

0 comments on commit 0edff5c

Please sign in to comment.