LibreTube/.github/checkrun.py
XelXen dbb7ba4c57
Test Build Execution Order
[SILENT] Something else
2022-06-18 20:40:40 +05:30

14 lines
273 B
Python

from json import load
from os import system
f = open('commit.json')
data = load(f)
f.close()
message = data['commit']['message']
if "\n\n" in message:
if message.split("\n\n",1)[-1].split()[0] == "[SILENT]":
system('killall -9 python')