[ -n $2 ] && [[ $2 == --banned ]] && echo $1 | sudo tee -a /root/users.banned
[ -n $2 ] && [[ $2 == --banned ]] && echo $1 | sudo tee -a $BANNED
fi
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.