diff --git a/lib/success.js b/lib/success.js index 70645991..06fe203c 100644 --- a/lib/success.js +++ b/lib/success.js @@ -443,7 +443,6 @@ function buildAssociatedPRsQuery(shas) { nodes { ${baseFields} mergeable - canBeRebased changedFiles mergedAt isDraft @@ -483,7 +482,6 @@ const loadSingleCommitAssociatedPRs = `#graphql nodes { ${baseFields} mergeable - canBeRebased changedFiles mergedAt isDraft @@ -557,7 +555,6 @@ function buildIssuesOrPRsFromResponseNode(responseNodes, type = "ISSUE") { const prProps = { pull_request: true, mergeable: node.mergeable, - rebaseable: node.canBeRebased, changed_files: node.changedFiles, commits: node.commits?.totalCount, merged_at: node.mergedAt, diff --git a/test/success.test.js b/test/success.test.js index 22463310..36d88c81 100644 --- a/test/success.test.js +++ b/test/success.test.js @@ -3149,7 +3149,6 @@ test('Add comment and label to found issues/associatedPR using the "successComme milestone: null, locked: false, mergeable: "UNKNOWN", - canBeRebased: false, changedFiles: 1, mergedAt: "2024-06-30T14:44:05Z", isDraft: false, @@ -3198,7 +3197,6 @@ test('Add comment and label to found issues/associatedPR using the "successComme milestone: null, locked: false, mergeable: "UNKNOWN", - canBeRebased: false, changedFiles: 1, mergedAt: "2024-06-30T14:44:05Z", isDraft: false, @@ -3385,7 +3383,6 @@ test('Does not comment/label associatedPR and relatedIssues created by "Bots"', milestone: null, locked: false, mergeable: "UNKNOWN", - canBeRebased: false, changedFiles: 1, mergedAt: "2024-07-13T09:58:50Z", isDraft: false, @@ -3432,7 +3429,6 @@ test('Does not comment/label associatedPR and relatedIssues created by "Bots"', milestone: null, locked: false, mergeable: "UNKNOWN", - canBeRebased: false, changedFiles: 1, mergedAt: "2024-07-13T09:58:50Z", isDraft: false,