Print labels to log in run_check.py

This commit is contained in:
vdimir 2022-04-06 11:57:11 +02:00
parent 2ebae2d722
commit 670fad56fc
No known key found for this signature in database
GPG Key ID: 6EE4CE2BEDC51862

View File

@ -255,6 +255,7 @@ if __name__ == "__main__":
elif SUBMODULE_CHANGED_LABEL in pr_info.labels: elif SUBMODULE_CHANGED_LABEL in pr_info.labels:
pr_labels_to_remove.append(SUBMODULE_CHANGED_LABEL) pr_labels_to_remove.append(SUBMODULE_CHANGED_LABEL)
print("change labels: add {}, remove {}".format(pr_labels_to_add, pr_labels_to_remove))
if pr_labels_to_add: if pr_labels_to_add:
post_labels(gh, pr_info, pr_labels_to_add) post_labels(gh, pr_info, pr_labels_to_add)