ci: report dispatch permission gaps without failing the scan
ci/woodpecker/pr/eco Pipeline was successful
ci/woodpecker/pr/eco Pipeline was successful
This commit is contained in:
1 parent
96418b3ff5
commit
241b480a34
3 files changed
+15
-2
No files matched your search
@@ -665,7 +665,7 @@ def main(argv):
|
||||
print(f"reconcile: {error}", file=sys.stderr)
|
||||
return 1
|
||||
print(json.dumps(report, ensure_ascii=False, indent=2))
|
||||
return int(not report["scan_complete"] or report["dispatch_status"] == "unavailable" or any(
|
||||
return int(not report["scan_complete"] or any(
|
||||
"tracking_update" in item
|
||||
or any(task.get("registration") == "blocked" or task.get("dispatch_status") == "blocked"
|
||||
for task in item.get("consumer_tasks", []))
|
||||
|
||||
Reference in new issue
Block a user