From 920216d3ea80652d3a76cc4e0e3e596f34e3ed32 Mon Sep 17 00:00:00 2001 From: ItsDrike Date: Wed, 25 Jan 2023 12:52:30 +0100 Subject: [PATCH] Handle Commit,Discussion and RepositoryDependabotAlertsThread notification types --- home/.local/bin/scripts/gui/gh-notification | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/home/.local/bin/scripts/gui/gh-notification b/home/.local/bin/scripts/gui/gh-notification index 2a43520..c7d8602 100755 --- a/home/.local/bin/scripts/gui/gh-notification +++ b/home/.local/bin/scripts/gui/gh-notification @@ -242,6 +242,24 @@ if [ "$total" -gt 0 ]; then # Because we don't know the tag or commit ID, best we can do is use the page for all releases # the new release will be the first one there anyway url="https://github.com/$repo_id/releases" + elif [ "$issue_type" == "Commit" ]; then + description="$(echo "$line" | awk '{for (i=5; i