m7kvqbe1 / github-action-move-issues

A GitHub Action to move issues between GitHub Projects columns
3 stars 1 forks source link

Return to default column on label removal #7

Closed m7kvqbe1 closed 2 weeks ago

m7kvqbe1 commented 2 weeks ago

Closes #1

Return to default column on label removal.

koppor commented 2 weeks ago

Tested it on my project - result: https://github.com/JabRef/jabref/actions/runs/11342028984/job/31541550218

Error: Error moving issue: Issue #11707 does not have a target label

Internal note: I am testing with issue https://github.com/JabRef/jabref/issues/11707 and label 📍 Assigned.

koppor commented 2 weeks ago

The error is very OK, because the issue does not belong to that project. With this error, https://github.com/m7kvqbe1/github-action-move-issues/issues/4 is implemented (quick and dirty). I would just need to ignore the failing step.

m7kvqbe1 commented 2 weeks ago

I've added a change that ensures it only moves to the default-column if there are no target labels present.