Skip to content

Commit

Permalink
simplify commit message topic
Browse files Browse the repository at this point in the history
  • Loading branch information
pbusko committed Oct 14, 2024
1 parent b735b35 commit 843555c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions lib/modules/manager/buildpacks/extract.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ describe('modules/manager/buildpacks/extract', () => {
{
autoReplaceStringTemplate:
'{{depName}}{{#if newValue}}:{{newValue}}{{/if}}{{#if newDigest}}@{{newDigest}}{{/if}}',
commitMessageTopic: 'builder {{depName}}',
currentValue: '1.1.1',
datasource: 'docker',
depName: 'registry.corp/builder/noble',
Expand Down
2 changes: 1 addition & 1 deletion lib/modules/manager/buildpacks/extract.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ export function extractPackageFile(
'Cloud Native Buildpacks builder',
);

deps.push(dep);
deps.push({ ...dep, commitMessageTopic: 'builder {{depName}}' });
}

if (
Expand Down
2 changes: 1 addition & 1 deletion lib/modules/manager/buildpacks/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { DockerDatasource } from '../../datasource/docker';
export { extractPackageFile } from './extract';

export const defaultConfig = {
commitMessageTopic: 'buildpacks project descriptor {{depName}}',
commitMessageTopic: 'buildpack {{depName}}',
fileMatch: ['(^|/)project\\.toml$'],
pinDigests: false,
};
Expand Down

0 comments on commit 843555c

Please sign in to comment.