File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -58,13 +58,13 @@ jobs:
5858 });
5959
6060 const meaningfulCommits = commits.filter(c => {
61- const msg = c.commit.message.toLowerCase();
62- const date = new Date(c.commit.committer.date); // Commit-Datum
63- const isMergeFromMain = mainBranches.some(branch =>
64- msg.startsWith(`merge branch '${branch}'`) ||
65- msg.includes(`merge remote-tracking branch '${branch}'`)
61+ const msg = c.commit.message.toLowerCase();
62+ const date = new Date(c.commit.committer.date);
63+ const isMergeFromMain = mainBranches.some(branch =>
64+ msg.startsWith(`merge branch '${branch}'`) ||
65+ msg.includes(`merge remote-tracking branch '${branch}'`)
6666 );
67-
67+
6868 return !isMergeFromMain && date > cutoff;
6969 });
7070
@@ -153,4 +153,4 @@ jobs:
153153 } catch (error) {
154154 console.error(`❌ Fatal error: ${error.message}`);
155155 throw error;
156- }
156+ }
You can’t perform that action at this time.
0 commit comments