From 4ded1ea78c95085bcc3c0887b92fb688bd0d5dfb Mon Sep 17 00:00:00 2001 From: Victor Date: Wed, 20 Mar 2024 17:25:39 +0000 Subject: [PATCH] fix: reduce number of calls to Github API to avoid hitting rate limits --- src/index.ts | 11 ++++++++++- test/__snapshots__/_config.test.ts.snap | 11 ++++++++++- 2 files changed, 20 insertions(+), 2 deletions(-) diff --git a/src/index.ts b/src/index.ts index 9e7e8a6..45b42ca 100644 --- a/src/index.ts +++ b/src/index.ts @@ -37,7 +37,16 @@ export = { }, }, ], - "@semantic-release/github", + [ + "@semantic-release/github", + { + failComment: false, + failTitle: false, + labels: false, + releasedLabels: false, + successComment: false, + }, + ], [ "@semantic-release/exec", { diff --git a/test/__snapshots__/_config.test.ts.snap b/test/__snapshots__/_config.test.ts.snap index b3192c9..239f7fa 100644 --- a/test/__snapshots__/_config.test.ts.snap +++ b/test/__snapshots__/_config.test.ts.snap @@ -74,7 +74,16 @@ exports[`config createPreset creates a preset including the default config 1`] = }, }, ], - "@semantic-release/github", + [ + "@semantic-release/github", + { + "failComment": false, + "failTitle": false, + "labels": false, + "releasedLabels": false, + "successComment": false, + }, + ], "a", "b", [