self-assign core team PRs

This commit is contained in:
nate smith 2021-11-24 16:31:17 -06:00
parent 0e52f429c0
commit 9326824e9e

View file

@ -45,6 +45,10 @@ jobs:
if [ "$PR_AUTHOR_TYPE" = "Bot" ] || gh api orgs/cli/public_members/$PRAUTHOR --silent 2>/dev/null
then
if [ "$PR_AUTHOR_TYPE" != "Bot" ]
then
gh pr edit --add-assignee $PRAUTHOR
fi
if ! errtext="$(addToBoard 2>&1)"
then
cat <<<"$errtext" >&2