Read for pull_request.user.login when checking for maintainer (#3445)

This commit is contained in:
Muhammad Hamza 2023-10-05 15:20:46 +05:00 committed by GitHub
parent d79ee6f6d6
commit 475bcbf980
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -19,7 +19,7 @@ jobs:
uses: JamesSingleton/is-organization-member@1.0.1
with:
organization: "yewstack"
username: ${{ github.actor }}
username: ${{ github.event.pull_request.user.login }}
token: ${{ secrets.GITHUB_TOKEN }}
- name: Auto approve