From 13b2bd352cbb1c3234ed62e78b4b84f3e932c77c Mon Sep 17 00:00:00 2001 From: Gaby Zifferman Date: Tue, 29 Oct 2024 15:26:55 +0100 Subject: [PATCH] chore(config): restrict changelog updates to main branch only --- release.config.cjs | 1 + 1 file changed, 1 insertion(+) diff --git a/release.config.cjs b/release.config.cjs index 0f5d2f8a2..2c0c67841 100644 --- a/release.config.cjs +++ b/release.config.cjs @@ -48,6 +48,7 @@ module.exports = { '@semantic-release/changelog', { changelogFile: 'CHANGELOG.md', + skip: (branch) => branch !== 'main' }, ], ['@semantic-release/npm'],