From 02a5bd9eabbe5511c05b085523baaab3b01ba6e4 Mon Sep 17 00:00:00 2001 From: Gil Mizrahi Date: Mon, 6 Nov 2023 13:44:06 +0200 Subject: [PATCH] another try --- .github/workflows/update-multitenant-dep.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/update-multitenant-dep.yaml b/.github/workflows/update-multitenant-dep.yaml index 38ad8f1c9..8293d458b 100644 --- a/.github/workflows/update-multitenant-dep.yaml +++ b/.github/workflows/update-multitenant-dep.yaml @@ -35,6 +35,8 @@ jobs: pushd ndc-postgres LATEST_SHA=$(git rev-parse --short HEAD) AUTHOR_EMAIL=$(git show -s --format="%ae" HEAD) + AUTHOR_USER=$(gh api search/users -f q="$AUTHOR_EMAIL") + echo "Commit by: $AUTHOR_USER" popd BRANCH_NAME="update-ndc-postgres-to-$LATEST_SHA" @@ -64,8 +66,6 @@ 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" \