git-scripts/gitea_get_notifications.sh

4 lines
108 B
Bash
Executable File

#!/bin/bash
echo "Gitea: $(tea notification ls --mine | grep -E "^\| [0-9]+.*Pull.*merged" | wc -l)"
exit 0