|
1 | 1 | diff --git a/node_modules/@semantic-release/github/lib/success.js b/node_modules/@semantic-release/github/lib/success.js |
2 | | -index 29c8def..576c68a 100644 |
| 2 | +index 29c8def..396d84e 100644 |
3 | 3 | --- a/node_modules/@semantic-release/github/lib/success.js |
4 | 4 | +++ b/node_modules/@semantic-release/github/lib/success.js |
5 | 5 | @@ -15,6 +15,8 @@ import getReleaseLinks from "./get-release-links.js"; |
@@ -55,18 +55,19 @@ index 29c8def..576c68a 100644 |
55 | 55 | for (const { nodes, pageInfo } of responseAssociatedPRs) { |
56 | 56 | if (nodes.length === 0) continue; |
57 | 57 |
|
58 | | -@@ -116,8 +137,10 @@ export default async function success(pluginConfig, context, { Octokit }) { |
| 58 | +@@ -116,8 +137,11 @@ export default async function success(pluginConfig, context, { Octokit }) { |
59 | 59 | }); |
60 | 60 |
|
61 | 61 | const uniqueAssociatedPRs = uniqBy(flatten(associatedPRs), "number"); |
62 | 62 | + console.log('uniqueAssociatedPRs: ', uniqueAssociatedPRs); |
63 | 63 |
|
64 | 64 | const prs = await pFilter(uniqueAssociatedPRs, async ({ number }) => { |
65 | 65 | + console.log('number: ', number); |
| 66 | ++ if (number === 1) return false; |
66 | 67 | const commits = await octokit.paginate( |
67 | 68 | "GET /repos/{owner}/{repo}/pulls/{pull_number}/commits", |
68 | 69 | { |
69 | | -@@ -539,6 +562,7 @@ const loadSingleCommitAssociatedPRs = `#graphql |
| 70 | +@@ -539,6 +563,7 @@ const loadSingleCommitAssociatedPRs = `#graphql |
70 | 71 | * @returns {object[]} |
71 | 72 | */ |
72 | 73 | function buildIssuesOrPRsFromResponseNode(responseNodes) { |
|
0 commit comments