Вероятно последний тест

- wl-add: тесттттттттттттттт
This commit is contained in:
Pupchansky
2024-09-13 13:44:26 +05:00
parent ce19cc1f54
commit 0b90e7b21e
2 changed files with 4 additions and 9 deletions

View File

@@ -47,13 +47,13 @@ def format_body(body: str) -> str:
cl_type = match.group(1)
message = match.group(2).capitalize().strip()
if cl_type == "add":
if cl_type == "wl-add":
result += '🆕'
elif cl_type == "tweak":
elif cl_type == "wl-tweak":
result += '🛠️'
elif cl_type == "fix":
elif cl_type == "wl-fix":
result += '🐛'
elif cl_type == "remove":
elif cl_type == "wl-remove":
result += ''
elif cl_type == "debug":
result += "pup_debug_string"

View File

@@ -3,7 +3,6 @@
import os
import json
import notify_discord
import requests
COMMITS = json.loads(os.environ["COMMITS"])
PR_NOTIFY_WEBHOOK = os.environ["PR_NOTIFY_WEBHOOK"]
@@ -11,10 +10,6 @@ DEVELOPER_GITHUB_TOKEN = os.environ["DEVELOPER_GITHUB_TOKEN"]
# божи упаси(дебаг строка)
def main():
headers = {
'Authorization': f'token {DEVELOPER_GITHUB_TOKEN}'
}
content = ""
content_dict: dict[str, list[str]] = {