gitea_get_notifications.sh: init

This commit is contained in:
Oliver Schraml 2022-01-25 16:40:19 +01:00 committed by suchademon
parent 54aa247e8e
commit 84e727ef68
Signed by: oliver.schraml
GPG Key ID: A55864B79D0D0228
1 changed files with 3 additions and 0 deletions

3
gitea_get_notifications.sh Executable file
View File

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