Pārlūkot izejas kodu

Handle reopened issues as opened issues for MCP

We want to close and reopen the existing proposals for the integration to run.
Mark Rousskov 5 gadi atpakaļ
vecāks
revīzija
7d301e6267
1 mainītis faili ar 3 papildinājumiem un 1 dzēšanām
  1. 3 1
      src/handlers/major_change.rs

+ 3 - 1
src/handlers/major_change.rs

@@ -34,7 +34,9 @@ impl Handler for MajorChangeHandler {
 
         match event {
             Event::Issue(e) => {
-                if e.action != github::IssuesAction::Opened {
+                if e.action != github::IssuesAction::Opened
+                    && e.action != github::IssuesAction::Reopened
+                {
                     return Ok(None);
                 }
             }