From 73df9d4c78c03e5a863b0b91dae56fb08726ddae Mon Sep 17 00:00:00 2001 From: Osama Mabkhot <99215291+O2sa@users.noreply.github.com> Date: Tue, 21 Apr 2026 00:18:02 +0300 Subject: [PATCH] chore: Update check for starred repo by user --- .github/workflows/first-pr-merged.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/first-pr-merged.yml b/.github/workflows/first-pr-merged.yml index ef45395..61d821f 100644 --- a/.github/workflows/first-pr-merged.yml +++ b/.github/workflows/first-pr-merged.yml @@ -36,9 +36,10 @@ jobs: // Check if the user has starred the repo let hasStarred = false; try { - await github.rest.activity.checkRepoIsStarredByAuthenticatedUser({ + await github.rest.activity.checkRepoIsStarredByUser({ owner, - repo + repo, + username: creator }); hasStarred = true; } catch (error) {