Skip to content

Commit

Permalink
Merge pull request #68 from boherm/fix-reopened-status-on-pr
Browse files Browse the repository at this point in the history
Fix Reopened status
  • Loading branch information
jolelievre authored Dec 2, 2024
2 parents 94fd4ec + 4f0d874 commit fa56455
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public function getColumnName(): string

public function moveColumnByLabel(string $label): void
{
if ('Waiting for author' === $label) {
if (in_array($label, ['Waiting for author', 'Reopened'])) {
$this->columnName = $label;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ class MovePullRequestCardToColumnByLabelCommandHandlerTest extends TestCase
public static function handleDataProvider(): array
{
return [
['Whatever column name', 'Reopened', 'Reopened'],
['Whatever column name', 'Waiting for author', 'Waiting for author'],
['Whatever column name', 'Waiting for PM', 'Waiting for PM/UX/Dev'],
['Whatever column name', 'Waiting for UX', 'Waiting for PM/UX/Dev'],
Expand Down

0 comments on commit fa56455

Please sign in to comment.