Skip to content

Commit

Permalink
adds [s] for silent test merges (mostly to reduce spam)
Browse files Browse the repository at this point in the history
  • Loading branch information
harryob committed Dec 7, 2023
1 parent 073d9fe commit 2f41e50
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions code/datums/helper_datums/getrev.dm
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ GLOBAL_DATUM_INIT(revdata, /datum/getrev, new)
var/datum/tgs_revision_information/test_merge/tm = line
var/cm = tm.head_commit
var/details = ": '" + html_encode(tm.title) + "' by " + html_encode(tm.author) + " at commit " + html_encode(copytext_char(cm, 1, 11))
if(details && findtext(details, "\[s\]") && (!usr || !usr.client.admin_holder))
continue
. += "<a href=\"[CONFIG_GET(string/githuburl)]/pull/[tm.number]\">#[tm.number][details]</a><br>"

/client/verb/showrevinfo()
Expand Down

0 comments on commit 2f41e50

Please sign in to comment.