mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-20 00:30:49 +00:00
Cancel MasterCI in PRs
This commit is contained in:
parent
ac1dac4fe3
commit
1d57666b19
@ -1,28 +1,24 @@
|
||||
#!/usr/bin/env python3
|
||||
|
||||
from base64 import b64decode
|
||||
from collections import namedtuple
|
||||
from typing import Any, Dict, List, Optional, Tuple
|
||||
from threading import Thread
|
||||
from queue import Queue
|
||||
import json
|
||||
import re
|
||||
import time
|
||||
from base64 import b64decode
|
||||
from collections import namedtuple
|
||||
from queue import Queue
|
||||
from threading import Thread
|
||||
from typing import Any, Dict, List, Optional, Tuple
|
||||
|
||||
import requests # type: ignore
|
||||
|
||||
from lambda_shared.pr import CATEGORY_TO_LABEL, check_pr_description
|
||||
from lambda_shared.token import get_cached_access_token
|
||||
|
||||
|
||||
NEED_RERUN_ON_EDITED = {
|
||||
"PullRequestCI",
|
||||
"DocsCheck",
|
||||
}
|
||||
|
||||
NEED_RERUN_OR_CANCELL_WORKFLOWS = {
|
||||
"BackportPR",
|
||||
}.union(NEED_RERUN_ON_EDITED)
|
||||
"DocsCheck",
|
||||
"MasterCI",
|
||||
"PullRequestCI",
|
||||
}
|
||||
|
||||
MAX_RETRY = 5
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user