0
0
Fork 0
mirror of https://github.com/renovatebot/renovate.git synced 2025-01-12 22:29:06 +00:00
renovatebot_renovate/lib/modules/manager/pre-commit/index.ts
Risu 397ab49ef3
docs(managers): add missing url and displayName (#32621)
Co-authored-by: Michael Kriese <michael.kriese@gmx.de>
2024-12-01 08:47:27 +00:00

23 lines
952 B
TypeScript

import { GithubTagsDatasource } from '../../datasource/github-tags';
import { GitlabTagsDatasource } from '../../datasource/gitlab-tags';
export { extractPackageFile } from './extract';
export const displayName = 'pre-commit';
export const url = 'https://pre-commit.com';
export const defaultConfig = {
commitMessageTopic: 'pre-commit hook {{depName}}',
enabled: false,
fileMatch: ['(^|/)\\.pre-commit-config\\.ya?ml$'],
prBodyNotes: process.env.RENOVATE_X_SUPPRESS_PRE_COMMIT_WARNING
? /* istanbul ignore next */
[]
: [
'Note: The `pre-commit` manager in Renovate is not supported by the `pre-commit` maintainers or community. Please do not report any problems there, instead [create a Discussion in the Renovate repository](https://github.com/renovatebot/renovate/discussions/new) if you have any questions.',
],
};
export const supportedDatasources = [
GithubTagsDatasource.id,
GitlabTagsDatasource.id,
];