We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 964a7eb commit b35d107Copy full SHA for b35d107
2 files changed
process_pr.py
@@ -2391,7 +2391,8 @@ def process_pr(
2391
labels.append("requires-external")
2392
2393
# Keep old tests state for closed PRs (workaround for missing commit statuses in old PRs)
2394
- if not create_status:
+ # Do not change tests label in build-only mode
2395
+ if build_only or not create_status:
2396
labels = [l for l in labels if not l.startswith("tests-")]
2397
labels.extend(l for l in old_labels if l.startswith("tests-"))
2398
tests/PRActionData/TestProcessPr.test_build_only.json
@@ -46,15 +46,11 @@
46
},
47
{
48
"type": "add-label",
49
- "data": [
50
- "tests-started"
51
- ]
+ "data": []
52
53
54
"type": "remove-label",
55
56
- "tests-pending"
57
58
59
60
"type": "create-property-file",
0 commit comments