Update status label when reopening a report based on closed status #6
@ -46,7 +46,7 @@ def issues_event(data):
|
|||||||
# experiencing the issue.
|
# experiencing the issue.
|
||||||
new_status = "Status/Needs Triage"
|
new_status = "Status/Needs Triage"
|
||||||
for label in issue_labels:
|
for label in issue_labels:
|
||||||
if label["name"].startswith(status_prefix)
|
if label["name"].startswith(status_prefix):
|
||||||
bartvdbraak marked this conversation as resolved
Outdated
|
|||||||
if label["name"] not in status_closed:
|
if label["name"] not in status_closed:
|
||||||
# Issue was reopened and had a new status label set.
|
# Issue was reopened and had a new status label set.
|
||||||
# So skip setting a new one.
|
# So skip setting a new one.
|
||||||
|
Loading…
Reference in New Issue
Block a user
Shouldn't this be:
You're right, I've fixed it.