Skip to content

Commit

Permalink
autoapprove.yaml: fix author detection
Browse files Browse the repository at this point in the history
  • Loading branch information
sanmai committed May 18, 2024
1 parent 3d3bad9 commit c216753
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/autoapprove.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
approve_pr:
name: Automatic Approval
runs-on: ubuntu-latest
if: github.actor == github.repository_owner
if: github.event.pull_request.user.login == github.repository_owner

steps:
- name: Approve PR
Expand Down

0 comments on commit c216753

Please sign in to comment.