Skip to content

Commit

Permalink
[core] Filter out website changes
Browse files Browse the repository at this point in the history
  • Loading branch information
oliviertassinari committed Oct 11, 2024
1 parent 82a8253 commit 96e5038
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions scripts/releaseChangelog.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,14 @@ function parseTags(commitMessage) {
* @param {Octokit.ReposCompareCommitsResponseCommitsItem} commitsItem
*/
function filterCommit(commitsItem) {
const commitMessage = commitsItem.commit.message;
// TODO: Use labels
// Filter dependency updates
return !commitsItem.commit.message.startsWith('Bump');
return (
// Filter renovate dependencies updates
!commitMessage.startsWith('Bump') &&
// Filter website changes, no implications for library users
!commitMessage.startsWith('[website]')
);
}

async function findLatestTaggedVersion() {
Expand Down

0 comments on commit 96e5038

Please sign in to comment.