Skip to content

Commit d7a9608

Browse files
committed
chore: update workflow debug @semantic-release/github
1 parent c38c428 commit d7a9608

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

patches/@semantic-release+github+11.0.4.patch

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
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
33
--- a/node_modules/@semantic-release/github/lib/success.js
44
+++ b/node_modules/@semantic-release/github/lib/success.js
55
@@ -15,6 +15,8 @@ import getReleaseLinks from "./get-release-links.js";
@@ -55,18 +55,19 @@ index 29c8def..576c68a 100644
5555
for (const { nodes, pageInfo } of responseAssociatedPRs) {
5656
if (nodes.length === 0) continue;
5757

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 }) {
5959
});
6060

6161
const uniqueAssociatedPRs = uniqBy(flatten(associatedPRs), "number");
6262
+ console.log('uniqueAssociatedPRs: ', uniqueAssociatedPRs);
6363

6464
const prs = await pFilter(uniqueAssociatedPRs, async ({ number }) => {
6565
+ console.log('number: ', number);
66+
+ if (number === 1) return false;
6667
const commits = await octokit.paginate(
6768
"GET /repos/{owner}/{repo}/pulls/{pull_number}/commits",
6869
{
69-
@@ -539,6 +562,7 @@ const loadSingleCommitAssociatedPRs = `#graphql
70+
@@ -539,6 +563,7 @@ const loadSingleCommitAssociatedPRs = `#graphql
7071
* @returns {object[]}
7172
*/
7273
function buildIssuesOrPRsFromResponseNode(responseNodes) {

0 commit comments

Comments
 (0)