change script
This commit is contained in:
@@ -103,11 +103,11 @@ def main():
|
||||
continue
|
||||
|
||||
print(f">> Will tag issue #{issue_number} with '{stale_tag}'")
|
||||
update_labels = list(update_labels | stale_tag)
|
||||
update_labels.add(stale_tag)
|
||||
|
||||
|
||||
# --- Make update with new labels ---
|
||||
update_payload = {'labels': update_labels}
|
||||
update_payload = {'labels': list(update_labels)}
|
||||
update_url = f"{base_api_url}/{issue_number}/labels"
|
||||
|
||||
print(f">> Updating Issue #{issue_number} ...")
|
||||
|
Reference in New Issue
Block a user