@eldrforge/kodrdriv 1.2.124 → 1.2.125

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -10,6 +10,7 @@ import { calculateBranchDependentVersion, checkIfTagExists, confirmVersionIntera
10
10
  import { DEFAULT_OUTPUT_DIRECTORY, KODRDRIV_DEFAULTS } from '../constants.js';
11
11
  import fs from 'fs/promises';
12
12
  import { runGitWithLock } from '../util/gitMutex.js';
13
+ import { filterContent } from '../util/stopContext.js';
13
14
 
14
15
  const scanNpmrcForEnvVars = async (storage)=>{
15
16
  const logger = getLogger();
@@ -944,8 +945,11 @@ const execute = async (runConfig)=>{
944
945
  labels: []
945
946
  };
946
947
  } else {
947
- const { stdout: commitTitle } = await run('git log -1 --pretty=%B');
948
- pr = await GitHub.createPullRequest(commitTitle, 'Automated release PR.', branchName, targetBranch);
948
+ const { stdout: rawCommitTitle } = await run('git log -1 --pretty=%B');
949
+ // Apply stop-context filtering to PR title and body
950
+ const commitTitle = filterContent(rawCommitTitle, runConfig.stopContext).filtered;
951
+ const prBody = filterContent('Automated release PR.', runConfig.stopContext).filtered;
952
+ pr = await GitHub.createPullRequest(commitTitle, prBody, branchName, targetBranch);
949
953
  if (!pr) {
950
954
  throw new Error('Failed to create pull request.');
951
955
  }