From 065c539f683e452ab03f80ab99cc7077d56c21d2 Mon Sep 17 00:00:00 2001 From: Dan Yishai Date: Sun, 1 Sep 2024 16:59:38 +0300 Subject: [PATCH] Update sync_opal_plus.yml (#654) --- .github/workflows/sync_opal_plus.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/sync_opal_plus.yml b/.github/workflows/sync_opal_plus.yml index d6c20b0d..18bbad2c 100644 --- a/.github/workflows/sync_opal_plus.yml +++ b/.github/workflows/sync_opal_plus.yml @@ -64,7 +64,7 @@ jobs: PR_NUMBER=$(gh pr list --repo permitio/opal-plus --base master --head public-master --json number --jq '.[0].number') if [ -n "$PR_NUMBER" ]; then echo "PR already exists: #$PR_NUMBER" - gh pr review --repo permitio/opal-plus --request-reviewer "$GITHUB_ACTOR" "$PR_NUMBER" || true + gh pr edit "$PR_NUMBER" --repo permitio/opal-plus --add-reviewer "$GITHUB_ACTOR" || true else gh pr create --repo permitio/opal-plus --assignee "$GITHUB_ACTOR" --reviewer "$GITHUB_ACTOR" --base master --head public-master --title "Sync changes from public OPAL repository" --body "This PR synchronizes changes from the public OPAL repository to the private OPAL Plus repository." || true echo "New PR created."