Skip to content

Commit

Permalink
try to fetch login via gh api
Browse files Browse the repository at this point in the history
  • Loading branch information
Gil Mizrahi committed Nov 6, 2023
1 parent 32c2d26 commit 7f34703
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/update-multitenant-dep.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit 7f34703

Please sign in to comment.