From 9eca2f5c6d29c97cda5eaea5f64aec276b358b65 Mon Sep 17 00:00:00 2001 From: Arthri <41360489+Arthri@users.noreply.github.com> Date: Thu, 21 Mar 2024 18:19:27 +0800 Subject: [PATCH] Allow OP to !merge_upstream (#24724) Co-authored-by: Arthri <41360489+a@users.noreply.github.com> --- .github/workflows/merge_upstream_master.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/merge_upstream_master.yml b/.github/workflows/merge_upstream_master.yml index c95ff17f58c..bb3805be16a 100644 --- a/.github/workflows/merge_upstream_master.yml +++ b/.github/workflows/merge_upstream_master.yml @@ -8,7 +8,7 @@ jobs: if: | github.event.issue.pull_request && (github.event.comment.body == '!merge_upstream') && - ((github.event.sender == github.event.issue.user) || + ((github.event.sender.id == github.event.issue.user.id) || (github.event.comment.author_association == 'COLLABORATOR') || (github.event.comment.author_association == 'MEMBER') || (github.event.comment.author_association == 'OWNER'))