Checkrun case

This commit is contained in:
XelXen 2022-06-21 11:45:36 +05:30 committed by GitHub
parent a77d358a42
commit 5214ae3ea3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

4
.github/checkrun.py vendored
View File

@ -10,4 +10,8 @@ message = data['commit']['message']
if "\n\n" in message: if "\n\n" in message:
if message.split("\n\n",1)[-1].split()[0] == "[SILENT]": if message.split("\n\n",1)[-1].split()[0] == "[SILENT]":
system('killall -9 python') system('killall -9 python')
else:
print("Silence not found")
else:
print("Empty Description")