diff --git a/.github/workflows/update-multitenant-dep.yaml b/.github/workflows/update-multitenant-dep.yaml index f8ae5d80e..38ad8f1c9 100644 --- a/.github/workflows/update-multitenant-dep.yaml +++ b/.github/workflows/update-multitenant-dep.yaml @@ -64,10 +64,12 @@ jobs: git commit -m "dep update: update ndc-postgres to $LATEST_SHA" git push origin $BRANCH_NAME + AUTHOR_USER=$(gh api search/users -f q="$AUTHOR_EMAIL") + # create a pull-requests containing the updates. gh pr create \ --body "Commit in ndc-postgres: https://github.com/hasura/ndc-postgres/commit/$LATEST_SHA" \ --title "dep update: update ndc-postgres to $LATEST_SHA" \ --head "$BRANCH_NAME" \ --base "main" \ - --assignee "$AUTHOR_EMAIL" + --assignee "$AUTHOR_USER"