Repository: DefinitelyTyped/dt-mergebot
Pull request #339 (2021-01-19 16:29:00)

Remove pr_number from Actions
Not used?


Patch:
diff --git a/src/compute-pr-actions.ts b/src/compute-pr-actions.ts
index 95baaac..05dc10b 100644
--- a/src/compute-pr-actions.ts
+++ b/src/compute-pr-actions.ts
@@ -49,7 +49,6 @@ export const LabelNames = [
 ] as const;
 
 export interface Actions {
-    pr_number: number;
     targetColumn?: ColumnName;
     labels: LabelName[];
     responseComments: Comments.Comment[];
@@ -60,9 +59,8 @@ export interface Actions {
     shouldRemoveFromActiveColumns: boolean;
 }
 
-function createDefaultActions(pr_number: number): Actions {
+function createDefaultActions(): Actions {
     return {
-        pr_number,
         targetColumn: "Other",
         labels: [],
         responseComments: [],
@@ -74,9 +72,8 @@ function createDefaultActions(pr_number: number): Actions {
     };
 }
 
-function createEmptyActions(prNumber: number): Actions {
+function createEmptyActions(): Actions {
     return {
-        pr_number: prNumber,
         labels: [],
         responseComments: [],
         shouldClose: false,
@@ -238,19 +235,19 @@ export function process(prInfo: BotResult,
     if (prInfo.type === "remove") {
         if (prInfo.isDraft) {
             return {
-                ...createEmptyActions(prInfo.pr_number),
+                ...createEmptyActions(),
                 targetColumn: "Needs Author Action",
                 shouldUpdateProjectColumn: true
             };
         } else {
             return {
-                ...createEmptyActions(prInfo.pr_number),
+                ...createEmptyActions(),
                 shouldRemoveFromActiveColumns: true
             };
         }
     }
 
-    const context = createDefaultActions(prInfo.pr_number);
+    const context = createDefaultActions();
     const post = (c: Comments.Comment) => context.responseComments.push(c);
 
     if (prInfo.type === "error") {


Test patch:
diff --git a/src/_tests/fixtures/38979/result.json b/src/_tests/fixtures/38979/result.json
index 476e15a..b5080e6 100644
--- a/src/_tests/fixtures/38979/result.json
+++ b/src/_tests/fixtures/38979/result.json
@@ -1,5 +1,4 @@
 {
-  "pr_number": 38979,
   "targetColumn": "Needs Maintainer Action",
   "labels": [
     "Critical package",
diff --git a/src/_tests/fixtures/43136/result.json b/src/_tests/fixtures/43136/result.json
index 302d492..41273c6 100644
--- a/src/_tests/fixtures/43136/result.json
+++ b/src/_tests/fixtures/43136/result.json
@@ -1,5 +1,4 @@
 {
-  "pr_number": 43136,
   "targetColumn": "Needs Maintainer Review",
   "labels": [
     "Critical package"
diff --git a/src/_tests/fixtures/43144/result.json b/src/_tests/fixtures/43144/result.json
index 39abbaf..ba3d530 100644
--- a/src/_tests/fixtures/43144/result.json
+++ b/src/_tests/fixtures/43144/result.json
@@ -1,5 +1,4 @@
 {
-  "pr_number": 43144,
   "targetColumn": "Waiting for Author to Merge",
   "labels": [
     "Owner Approved",
diff --git a/src/_tests/fixtures/43151/result.json b/src/_tests/fixtures/43151/result.json
index 3e725d8..15118ca 100644
--- a/src/_tests/fixtures/43151/result.json
+++ b/src/_tests/fixtures/43151/result.json
@@ -1,5 +1,4 @@
 {
-  "pr_number": 43151,
   "targetColumn": "Needs Maintainer Action",
   "labels": [
     "New Definition"
diff --git a/src/_tests/fixtures/43160/result.json b/src/_tests/fixtures/43160/result.json
index a223c58..e6a7a64 100644
--- a/src/_tests/fixtures/43160/result.json
+++ b/src/_tests/fixtures/43160/result.json
@@ -1,5 +1,4 @@
 {
-  "pr_number": 43160,
   "targetColumn": "Needs Author Action",
   "labels": [
     "The CI failed",
diff --git a/src/_tests/fixtures/43175/result.json b/src/_tests/fixtures/43175/result.json
index 0e84ff3..97905e9 100644
--- a/src/_tests/fixtures/43175/result.json
+++ b/src/_tests/fixtures/43175/result.json
@@ -1,5 +1,4 @@
 {
-  "pr_number": 43175,
   "targetColumn": "Needs Maintainer Review",
   "labels": [
     "Popular package",
diff --git a/src/_tests/fixtures/43235/result.json b/src/_tests/fixtures/43235/result.json
index 90f6ffc..d95c720 100644
--- a/src/_tests/fixtures/43235/result.json
+++ b/src/_tests/fixtures/43235/result.json
@@ -1,5 +1,4 @@
 {
-  "pr_number": 43235,
   "targetColumn": "Waiting for Code Reviews",
   "labels": [],
   "responseComments": [
diff --git a/src/_tests/fixtures/43314/result.json b/src/_tests/fixtures/43314/result.json
index 785a10a..a7fd4d2 100644
--- a/src/_tests/fixtures/43314/result.json
+++ b/src/_tests/fixtures/43314/result.json
@@ -1,5 +1,4 @@
 {
-  "pr_number": 43314,
   "targetColumn": "Needs Maintainer Action",
   "labels": [
     "New Definition"
diff --git a/src/_tests/fixtures/43695-duplicate-comment/result.json b/src/_tests/fixtures/43695-duplicate-comment/result.json
index 9b4391f..374edbf 100644
--- a/src/_tests/fixtures/43695-duplicate-comment/result.json
+++ b/src/_tests/fixtures/43695-duplicate-comment/result.json
@@ -1,5 +1,4 @@
 {
-  "pr_number": 43695,
   "targetColumn": "Needs Maintainer Action",
   "labels": [
     "New Definition",
diff --git a/src/_tests/fixtures/43695-post-review/result.json b/src/_tests/fixtures/43695-post-review/result.json
index e404da4..51109ca 100644
--- a/src/_tests/fixtures/43695-post-review/result.json
+++ b/src/_tests/fixtures/43695-post-review/result.json
@@ -1,5 +1,4 @@
 {
-  "pr_number": 43695,
   "targetColumn": "Needs Author Action",
   "labels": [
     "Revision needed",
diff --git a/src/_tests/fixtures/43695/result.json b/src/_tests/fixtures/43695/result.json
index f10b154..8ee3dae 100644
--- a/src/_tests/fixtures/43695/result.json
+++ b/src/_tests/fixtures/43695/result.json
@@ -1,5 +1,4 @@
 {
-  "pr_number": 43695,
   "targetColumn": "Needs Author Action",
   "labels": [
     "Revision needed",
diff --git a/src/_tests/fixtures/43960-post-close/result.json b/src/_tests/fixtures/43960-post-close/result.json
index d466289..3a62818 100644
--- a/src/_tests/fixtures/43960-post-close/result.json
+++ b/src/_tests/fixtures/43960-post-close/result.json
@@ -1,5 +1,4 @@
 {
-  "pr_number": 43960,
   "labels": [],
   "responseComments": [],
   "shouldClose": false,
diff --git a/src/_tests/fixtures/43960/result.json b/src/_tests/fixtures/43960/result.json
index 4201451..0bac2a8 100644
--- a/src/_tests/fixtures/43960/result.json
+++ b/src/_tests/fixtures/43960/result.json
@@ -1,5 +1,4 @@
 {
-  "pr_number": 43960,
   "targetColumn": "Needs Author Action",
   "labels": [
     "Revision needed",
diff --git a/src/_tests/fixtures/44105/result.json b/src/_tests/fixtures/44105/result.json
index 78611b8..3a62818 100644
--- a/src/_tests/fixtures/44105/result.json
+++ b/src/_tests/fixtures/44105/result.json
@@ -1,5 +1,4 @@
 {
-  "pr_number": 44105,
   "labels": [],
   "responseComments": [],
   "shouldClose": false,
diff --git a/src/_tests/fixtures/44256/result.json b/src/_tests/fixtures/44256/result.json
index f0ba5a3..3a62818 100644
--- a/src/_tests/fixtures/44256/result.json
+++ b/src/_tests/fixtures/44256/result.json
@@ -1,5 +1,4 @@
 {
-  "pr_number": 44256,
   "labels": [],
   "responseComments": [],
   "shouldClose": false,
diff --git a/src/_tests/fixtures/44267/result.json b/src/_tests/fixtures/44267/result.json
index 83583d7..d97c5d4 100644
--- a/src/_tests/fixtures/44267/result.json
+++ b/src/_tests/fixtures/44267/result.json
@@ -1,5 +1,4 @@
 {
-  "pr_number": 44267,
   "targetColumn": "Needs Maintainer Review",
   "labels": [
     "Owner Approved",
diff --git a/src/_tests/fixtures/44282/result.json b/src/_tests/fixtures/44282/result.json
index 8111ef5..7df9030 100644
--- a/src/_tests/fixtures/44282/result.json
+++ b/src/_tests/fixtures/44282/result.json
@@ -1,5 +1,4 @@
 {
-  "pr_number": 44282,
   "targetColumn": "Waiting for Code Reviews",
   "labels": [
     "Edits Owners",
diff --git a/src/_tests/fixtures/44288/result.json b/src/_tests/fixtures/44288/result.json
index a10ae00..ff4bc27 100644
--- a/src/_tests/fixtures/44288/result.json
+++ b/src/_tests/fixtures/44288/result.json
@@ -1,5 +1,4 @@
 {
-  "pr_number": 44288,
   "targetColumn": "Waiting for Code Reviews",
   "labels": [],
   "responseComments": [
diff --git a/src/_tests/fixtures/44290/result.json b/src/_tests/fixtures/44290/result.json
index a7d9fba..c7c9557 100644
--- a/src/_tests/fixtures/44290/result.json
+++ b/src/_tests/fixtures/44290/result.json
@@ -1,5 +1,4 @@
 {
-  "pr_number": 44290,
   "labels": [],
   "responseComments": [],
   "shouldClose": false,
diff --git a/src/_tests/fixtures/44299-with-files/result.json b/src/_tests/fixtures/44299-with-files/result.json
index 048864d..c07fdb0 100644
--- a/src/_tests/fixtures/44299-with-files/result.json
+++ b/src/_tests/fixtures/44299-with-files/result.json
@@ -1,5 +1,4 @@
 {
-  "pr_number": 44299,
   "targetColumn": "Needs Maintainer Action",
   "labels": [
     "New Definition"
diff --git a/src/_tests/fixtures/44299/result.json b/src/_tests/fixtures/44299/result.json
index 048864d..c07fdb0 100644
--- a/src/_tests/fixtures/44299/result.json
+++ b/src/_tests/fixtures/44299/result.json
@@ -1,5 +1,4 @@
 {
-  "pr_number": 44299,
   "targetColumn": "Needs Maintainer Action",
   "labels": [
     "New Definition"
diff --git a/src/_tests/fixtures/44316/result.json b/src/_tests/fixtures/44316/result.json
index c1ebd8a..55e2ae9 100644
--- a/src/_tests/fixtures/44316/result.json
+++ b/src/_tests/fixtures/44316/result.json
@@ -1,5 +1,4 @@
 {
-  "pr_number": 44316,
   "targetColumn": "Waiting for Code Reviews",
   "labels": [
     "Author is Owner",
diff --git a/src/_tests/fixtures/44343-pending-travis/result.json b/src/_tests/fixtures/44343-pending-travis/result.json
index 09de535..4b4abbd 100644
--- a/src/_tests/fixtures/44343-pending-travis/result.json
+++ b/src/_tests/fixtures/44343-pending-travis/result.json
@@ -1,5 +1,4 @@
 {
-  "pr_number": 44343,
   "targetColumn": "Waiting for Code Reviews",
   "labels": [],
   "responseComments": [
diff --git a/src/_tests/fixtures/44343-pre-travis/result.json b/src/_tests/fixtures/44343-pre-travis/result.json
index 09de535..4b4abbd 100644
--- a/src/_tests/fixtures/44343-pre-travis/result.json
+++ b/src/_tests/fixtures/44343-pre-travis/result.json
@@ -1,5 +1,4 @@
 {
-  "pr_number": 44343,
   "targetColumn": "Waiting for Code Reviews",
   "labels": [],
   "responseComments": [
diff --git a/src/_tests/fixtures/44343/result.json b/src/_tests/fixtures/44343/result.json
index ede471f..909ba1e 100644
--- a/src/_tests/fixtures/44343/result.json
+++ b/src/_tests/fixtures/44343/result.json
@@ -1,5 +1,4 @@
 {
-  "pr_number": 44343,
   "targetColumn": "Waiting for Code Reviews",
   "labels": [],
   "responseComments": [
diff --git a/src/_tests/fixtures/44402/result.json b/src/_tests/fixtures/44402/result.json
index fb8b49e..cc4e244 100644
--- a/src/_tests/fixtures/44402/result.json
+++ b/src/_tests/fixtures/44402/result.json
@@ -1,5 +1,4 @@
 {
-  "pr_number": 44402,
   "targetColumn": "Waiting for Author to Merge",
   "labels": [
     "Other Approved",
diff --git a/src/_tests/fixtures/44411/result.json b/src/_tests/fixtures/44411/result.json
index efd1316..e5e343d 100644
--- a/src/_tests/fixtures/44411/result.json
+++ b/src/_tests/fixtures/44411/result.json
@@ -1,5 +1,4 @@
 {
-  "pr_number": 44411,
   "targetColumn": "Waiting for Code Reviews",
   "labels": [
     "Edits Owners"
diff --git a/src/_tests/fixtures/44424-1-travis-instantly-finished/result.json b/src/_tests/fixtures/44424-1-travis-instantly-finished/result.json
index 9e81152..bbf1202 100644
--- a/src/_tests/fixtures/44424-1-travis-instantly-finished/result.json
+++ b/src/_tests/fixtures/44424-1-travis-instantly-finished/result.json
@@ -1,5 +1,4 @@
 {
-  "pr_number": 44424,
   "targetColumn": "Waiting for Code Reviews",
   "labels": [
     "Author is Owner"
diff --git a/src/_tests/fixtures/44424-2-after-travis-second/result.json b/src/_tests/fixtures/44424-2-after-travis-second/result.json
index 1016307..4c26fc9 100644
--- a/src/_tests/fixtures/44424-2-after-travis-second/result.json
+++ b/src/_tests/fixtures/44424-2-after-travis-second/result.json
@@ -1,5 +1,4 @@
 {
-  "pr_number": 44424,
   "targetColumn": "Waiting for Code Reviews",
   "labels": [
     "Author is Owner"
diff --git a/src/_tests/fixtures/44437/result.json b/src/_tests/fixtures/44437/result.json
index 5f325a8..b8894ff 100644
--- a/src/_tests/fixtures/44437/result.json
+++ b/src/_tests/fixtures/44437/result.json
@@ -1,5 +1,4 @@
 {
-  "pr_number": 44437,
   "targetColumn": "Waiting for Author to Merge",
   "labels": [
     "Popular package",
diff --git a/src/_tests/fixtures/44439/result.json b/src/_tests/fixtures/44439/result.json
index 75ca967..7256583 100644
--- a/src/_tests/fixtures/44439/result.json
+++ b/src/_tests/fixtures/44439/result.json
@@ -1,5 +1,4 @@
 {
-  "pr_number": 44439,
   "targetColumn": "Needs Maintainer Action",
   "labels": [
     "Edits Owners",
diff --git a/src/_tests/fixtures/44631/result.json b/src/_tests/fixtures/44631/result.json
index a269049..97cf271 100644
--- a/src/_tests/fixtures/44631/result.json
+++ b/src/_tests/fixtures/44631/result.json
@@ -1,5 +1,4 @@
 {
-  "pr_number": 44631,
   "targetColumn": "Needs Author Action",
   "labels": [
     "Has Merge Conflict",
diff --git a/src/_tests/fixtures/44857/result.json b/src/_tests/fixtures/44857/result.json
index 3157277..3ecd031 100644
--- a/src/_tests/fixtures/44857/result.json
+++ b/src/_tests/fixtures/44857/result.json
@@ -1,5 +1,4 @@
 {
-  "pr_number": 44857,
   "targetColumn": "Needs Maintainer Action",
   "labels": [
     "Critical package",
diff --git a/src/_tests/fixtures/44989-14days/result.json b/src/_tests/fixtures/44989-14days/result.json
index 4544d6e..c7ca3ae 100644
--- a/src/_tests/fixtures/44989-14days/result.json
+++ b/src/_tests/fixtures/44989-14days/result.json
@@ -1,5 +1,4 @@
 {
-  "pr_number": 44989,
   "targetColumn": "Waiting for Author to Merge",
   "labels": [
     "Popular package",
diff --git a/src/_tests/fixtures/44989-32days/result.json b/src/_tests/fixtures/44989-32days/result.json
index 97b9e41..519b805 100644
--- a/src/_tests/fixtures/44989-32days/result.json
+++ b/src/_tests/fixtures/44989-32days/result.json
@@ -1,5 +1,4 @@
 {
-  "pr_number": 44989,
   "targetColumn": "Waiting for Author to Merge",
   "labels": [
     "Popular package",
diff --git a/src/_tests/fixtures/44989-3days/result.json b/src/_tests/fixtures/44989-3days/result.json
index a3a3db8..fc56c02 100644
--- a/src/_tests/fixtures/44989-3days/result.json
+++ b/src/_tests/fixtures/44989-3days/result.json
@@ -1,5 +1,4 @@
 {
-  "pr_number": 44989,
   "targetColumn": "Waiting for Author to Merge",
   "labels": [
     "Popular package",
diff --git a/src/_tests/fixtures/44989-7days/result.json b/src/_tests/fixtures/44989-7days/result.json
index 6d6c4ac..32abc71 100644
--- a/src/_tests/fixtures/44989-7days/result.json
+++ b/src/_tests/fixtures/44989-7days/result.json
@@ -1,5 +1,4 @@
 {
-  "pr_number": 44989,
   "targetColumn": "Waiting for Author to Merge",
   "labels": [
     "Popular package",
diff --git a/src/_tests/fixtures/45137/result.json b/src/_tests/fixtures/45137/result.json
index 4e1c756..d2b05ea 100644
--- a/src/_tests/fixtures/45137/result.json
+++ b/src/_tests/fixtures/45137/result.json
@@ -1,5 +1,4 @@
 {
-  "pr_number": 45137,
   "targetColumn": "Needs Maintainer Review",
   "labels": [
     "Popular package",
diff --git a/src/_tests/fixtures/45627/result.json b/src/_tests/fixtures/45627/result.json
index e03a064..8b06249 100644
--- a/src/_tests/fixtures/45627/result.json
+++ b/src/_tests/fixtures/45627/result.json
@@ -1,5 +1,4 @@
 {
-  "pr_number": 45627,
   "targetColumn": "Recently Merged",
   "labels": [
     "Critical package",
diff --git a/src/_tests/fixtures/45836/result.json b/src/_tests/fixtures/45836/result.json
index 079eb0f..f1b7092 100644
--- a/src/_tests/fixtures/45836/result.json
+++ b/src/_tests/fixtures/45836/result.json
@@ -1,5 +1,4 @@
 {
-  "pr_number": 45836,
   "targetColumn": "Needs Maintainer Review",
   "labels": [
     "Owner Approved",
diff --git a/src/_tests/fixtures/45884/result.json b/src/_tests/fixtures/45884/result.json
index 0973e05..a16bdbf 100644
--- a/src/_tests/fixtures/45884/result.json
+++ b/src/_tests/fixtures/45884/result.json
@@ -1,5 +1,4 @@
 {
-  "pr_number": 45884,
   "targetColumn": "Waiting for Author to Merge",
   "labels": [
     "Owner Approved",
diff --git a/src/_tests/fixtures/45888/result.json b/src/_tests/fixtures/45888/result.json
index 34882d4..6d08fb4 100644
--- a/src/_tests/fixtures/45888/result.json
+++ b/src/_tests/fixtures/45888/result.json
@@ -1,5 +1,4 @@
 {
-  "pr_number": 45888,
   "targetColumn": "Waiting for Code Reviews",
   "labels": [
     "Other Approved",
diff --git a/src/_tests/fixtures/45890/result.json b/src/_tests/fixtures/45890/result.json
index 7c25a20..f37164f 100644
--- a/src/_tests/fixtures/45890/result.json
+++ b/src/_tests/fixtures/45890/result.json
@@ -1,5 +1,4 @@
 {
-  "pr_number": 45890,
   "targetColumn": "Needs Maintainer Action",
   "labels": [
     "Other Approved",
diff --git a/src/_tests/fixtures/45946/result.json b/src/_tests/fixtures/45946/result.json
index 0d6d4d1..fcd6358 100644
--- a/src/_tests/fixtures/45946/result.json
+++ b/src/_tests/fixtures/45946/result.json
@@ -1,5 +1,4 @@
 {
-  "pr_number": 45946,
   "targetColumn": "Needs Maintainer Action",
   "labels": [
     "Edits Infrastructure",
diff --git a/src/_tests/fixtures/45982/result.json b/src/_tests/fixtures/45982/result.json
index 7e2ae39..42b94ac 100644
--- a/src/_tests/fixtures/45982/result.json
+++ b/src/_tests/fixtures/45982/result.json
@@ -1,5 +1,4 @@
 {
-  "pr_number": 45982,
   "targetColumn": "Other",
   "labels": [
     "Mergebot Error"
diff --git a/src/_tests/fixtures/45999/result.json b/src/_tests/fixtures/45999/result.json
index 9824c5d..b6d714f 100644
--- a/src/_tests/fixtures/45999/result.json
+++ b/src/_tests/fixtures/45999/result.json
@@ -1,5 +1,4 @@
 {
-  "pr_number": 45999,
   "targetColumn": "Waiting for Author to Merge",
   "labels": [
     "Critical package",
diff --git a/src/_tests/fixtures/46008/result.json b/src/_tests/fixtures/46008/result.json
index 854f307..a7a7c32 100644
--- a/src/_tests/fixtures/46008/result.json
+++ b/src/_tests/fixtures/46008/result.json
@@ -1,5 +1,4 @@
 {
-  "pr_number": 46008,
   "targetColumn": "Waiting for Author to Merge",
   "labels": [
     "Owner Approved",
diff --git a/src/_tests/fixtures/46019/result.json b/src/_tests/fixtures/46019/result.json
index f476476..b84054e 100644
--- a/src/_tests/fixtures/46019/result.json
+++ b/src/_tests/fixtures/46019/result.json
@@ -1,5 +1,4 @@
 {
-  "pr_number": 46019,
   "targetColumn": "Waiting for Author to Merge",
   "labels": [
     "Maintainer Approved",
diff --git a/src/_tests/fixtures/46120/result.json b/src/_tests/fixtures/46120/result.json
index 7f53e4b..77b39e2 100644
--- a/src/_tests/fixtures/46120/result.json
+++ b/src/_tests/fixtures/46120/result.json
@@ -1,5 +1,4 @@
 {
-  "pr_number": 46120,
   "targetColumn": "Waiting for Author to Merge",
   "labels": [
     "Popular package",
diff --git a/src/_tests/fixtures/46191/result.json b/src/_tests/fixtures/46191/result.json
index 052d663..7f34630 100644
--- a/src/_tests/fixtures/46191/result.json
+++ b/src/_tests/fixtures/46191/result.json
@@ -1,5 +1,4 @@
 {
-  "pr_number": 46191,
   "targetColumn": "Needs Author Action",
   "labels": [
     "The CI failed",
diff --git a/src/_tests/fixtures/46196/result.json b/src/_tests/fixtures/46196/result.json
index c4208ac..ffe777f 100644
--- a/src/_tests/fixtures/46196/result.json
+++ b/src/_tests/fixtures/46196/result.json
@@ -1,5 +1,4 @@
 {
-  "pr_number": 46196,
   "targetColumn": "Waiting for Code Reviews",
   "labels": [],
   "responseComments": [
diff --git a/src/_tests/fixtures/46279/result.json b/src/_tests/fixtures/46279/result.json
index fa0eff9..a7d8c86 100644
--- a/src/_tests/fixtures/46279/result.json
+++ b/src/_tests/fixtures/46279/result.json
@@ -1,5 +1,4 @@
 {
-  "pr_number": 46279,
   "targetColumn": "Needs Maintainer Action",
   "labels": [
     "Author is Owner",
diff --git a/src/_tests/fixtures/46804/result.json b/src/_tests/fixtures/46804/result.json
index c7be737..ab7e784 100644
--- a/src/_tests/fixtures/46804/result.json
+++ b/src/_tests/fixtures/46804/result.json
@@ -1,5 +1,4 @@
 {
-  "pr_number": 46804,
   "targetColumn": "Waiting for Code Reviews",
   "labels": [
     "Untested Change"
diff --git a/src/_tests/fixtures/46879/result.json b/src/_tests/fixtures/46879/result.json
index e8f8f5e..4b87b1d 100644
--- a/src/_tests/fixtures/46879/result.json
+++ b/src/_tests/fixtures/46879/result.json
@@ -1,5 +1,4 @@
 {
-  "pr_number": 46879,
   "targetColumn": "Waiting for Code Reviews",
   "labels": [
     "Popular package"
diff --git a/src/_tests/fixtures/47017-blessed-and-one-owner/result.json b/src/_tests/fixtures/47017-blessed-and-one-owner/result.json
index b4d6183..14288e8 100644
--- a/src/_tests/fixtures/47017-blessed-and-one-owner/result.json
+++ b/src/_tests/fixtures/47017-blessed-and-one-owner/result.json
@@ -1,5 +1,4 @@
 {
-  "pr_number": 47017,
   "targetColumn": "Waiting for Code Reviews",
   "labels": [
     "Critical package",
diff --git a/src/_tests/fixtures/47017-blessed-and-two-owner/result.json b/src/_tests/fixtures/47017-blessed-and-two-owner/result.json
index a141d9b..f68fc50 100644
--- a/src/_tests/fixtures/47017-blessed-and-two-owner/result.json
+++ b/src/_tests/fixtures/47017-blessed-and-two-owner/result.json
@@ -1,5 +1,4 @@
 {
-  "pr_number": 47017,
   "targetColumn": "Waiting for Author to Merge",
   "labels": [
     "Critical package",
diff --git a/src/_tests/fixtures/47017-blessed/result.json b/src/_tests/fixtures/47017-blessed/result.json
index 860694c..60e0393 100644
--- a/src/_tests/fixtures/47017-blessed/result.json
+++ b/src/_tests/fixtures/47017-blessed/result.json
@@ -1,5 +1,4 @@
 {
-  "pr_number": 47017,
   "targetColumn": "Waiting for Code Reviews",
   "labels": [
     "Critical package",
diff --git a/src/_tests/fixtures/47017/result.json b/src/_tests/fixtures/47017/result.json
index d720dc3..69cc799 100644
--- a/src/_tests/fixtures/47017/result.json
+++ b/src/_tests/fixtures/47017/result.json
@@ -1,5 +1,4 @@
 {
-  "pr_number": 47017,
   "targetColumn": "Needs Maintainer Review",
   "labels": [
     "Critical package",
diff --git a/src/_tests/fixtures/48216/result.json b/src/_tests/fixtures/48216/result.json
index 114a080..9ba6769 100644
--- a/src/_tests/fixtures/48216/result.json
+++ b/src/_tests/fixtures/48216/result.json
@@ -1,5 +1,4 @@
 {
-  "pr_number": 48216,
   "targetColumn": "Waiting for Code Reviews",
   "labels": [],
   "responseComments": [
diff --git a/src/_tests/fixtures/48236/result.json b/src/_tests/fixtures/48236/result.json
index 8b92736..2195090 100644
--- a/src/_tests/fixtures/48236/result.json
+++ b/src/_tests/fixtures/48236/result.json
@@ -1,5 +1,4 @@
 {
-  "pr_number": 48236,
   "targetColumn": "Recently Merged",
   "labels": [
     "Other Approved",
diff --git a/src/_tests/fixtures/48652-merge-offer/result.json b/src/_tests/fixtures/48652-merge-offer/result.json
index fdbb19b..aa5a7f6 100644
--- a/src/_tests/fixtures/48652-merge-offer/result.json
+++ b/src/_tests/fixtures/48652-merge-offer/result.json
@@ -1,5 +1,4 @@
 {
-  "pr_number": 48652,
   "targetColumn": "Waiting for Author to Merge",
   "labels": [
     "Owner Approved",
diff --git a/src/_tests/fixtures/48652-prereq/result.json b/src/_tests/fixtures/48652-prereq/result.json
index b9693c8..8d3caa4 100644
--- a/src/_tests/fixtures/48652-prereq/result.json
+++ b/src/_tests/fixtures/48652-prereq/result.json
@@ -1,5 +1,4 @@
 {
-  "pr_number": 48652,
   "targetColumn": "Waiting for Author to Merge",
   "labels": [
     "Owner Approved",
diff --git a/src/_tests/fixtures/48652-retract-merge-offer-and-prerequest/result.json b/src/_tests/fixtures/48652-retract-merge-offer-and-prerequest/result.json
index ecb1e8d..c7a627d 100644
--- a/src/_tests/fixtures/48652-retract-merge-offer-and-prerequest/result.json
+++ b/src/_tests/fixtures/48652-retract-merge-offer-and-prerequest/result.json
@@ -1,5 +1,4 @@
 {
-  "pr_number": 48652,
   "targetColumn": "Needs Author Action",
   "labels": [
     "Revision needed",
diff --git a/src/_tests/fixtures/48652-retract-merge-offer/result.json b/src/_tests/fixtures/48652-retract-merge-offer/result.json
index 89dba03..6e96482 100644
--- a/src/_tests/fixtures/48652-retract-merge-offer/result.json
+++ b/src/_tests/fixtures/48652-retract-merge-offer/result.json
@@ -1,5 +1,4 @@
 {
-  "pr_number": 48652,
   "targetColumn": "Needs Author Action",
   "labels": [
     "Revision needed",
diff --git a/src/_tests/fixtures/48708/result.json b/src/_tests/fixtures/48708/result.json
index 462ebd6..75d99cc 100644
--- a/src/_tests/fixtures/48708/result.json
+++ b/src/_tests/fixtures/48708/result.json
@@ -1,5 +1,4 @@
 {
-  "pr_number": 48708,
   "targetColumn": "Needs Author Action",
   "labels": [
     "Revision needed",
diff --git a/src/_tests/fixtures/48945/result.json b/src/_tests/fixtures/48945/result.json
index d317108..639edf9 100644
--- a/src/_tests/fixtures/48945/result.json
+++ b/src/_tests/fixtures/48945/result.json
@@ -1,5 +1,4 @@
 {
-  "pr_number": 48945,
   "targetColumn": "Needs Author Action",
   "labels": [
     "Revision needed",
diff --git a/src/_tests/fixtures/49417/result.json b/src/_tests/fixtures/49417/result.json
index a1980e5..7060b73 100644
--- a/src/_tests/fixtures/49417/result.json
+++ b/src/_tests/fixtures/49417/result.json
@@ -1,5 +1,4 @@
 {
-  "pr_number": 49417,
   "targetColumn": "Waiting for Author to Merge",
   "labels": [
     "Owner Approved",
diff --git a/src/_tests/fixtures/49548/result.json b/src/_tests/fixtures/49548/result.json
index f7386b0..8a9272a 100644
--- a/src/_tests/fixtures/49548/result.json
+++ b/src/_tests/fixtures/49548/result.json
@@ -1,5 +1,4 @@
 {
-  "pr_number": 49548,
   "targetColumn": "Waiting for Code Reviews",
   "labels": [
     "Edits Owners",
diff --git a/src/_tests/fixtures/49575/result.json b/src/_tests/fixtures/49575/result.json
index 974e8ae..b9a794f 100644
--- a/src/_tests/fixtures/49575/result.json
+++ b/src/_tests/fixtures/49575/result.json
@@ -1,5 +1,4 @@
 {
-  "pr_number": 49575,
   "targetColumn": "Needs Maintainer Action",
   "labels": [
     "Other Approved",
diff --git a/src/_tests/fixtures/49841/result.json b/src/_tests/fixtures/49841/result.json
index 7b5dbea..c426d58 100644
--- a/src/_tests/fixtures/49841/result.json
+++ b/src/_tests/fixtures/49841/result.json
@@ -1,5 +1,4 @@
 {
-  "pr_number": 49841,
   "targetColumn": "Needs Author Action",
   "labels": [
     "The CI failed",
diff --git a/src/_tests/fixtures/50429/result.json b/src/_tests/fixtures/50429/result.json
index d0bd157..c2c19a9 100644
--- a/src/_tests/fixtures/50429/result.json
+++ b/src/_tests/fixtures/50429/result.json
@@ -1,5 +1,4 @@
 {
-  "pr_number": 50429,
   "targetColumn": "Needs Author Action",
   "labels": [
     "The CI failed",
diff --git a/src/_tests/fixtures/50443/result.json b/src/_tests/fixtures/50443/result.json
index 6e14a2b..302c158 100644
--- a/src/_tests/fixtures/50443/result.json
+++ b/src/_tests/fixtures/50443/result.json
@@ -1,5 +1,4 @@
 {
-  "pr_number": 50443,
   "targetColumn": "Recently Merged",
   "labels": [
     "Maintainer Approved",