Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Match both yaml and yml in all managers #22416

Merged
merged 1 commit into from May 24, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/modules/manager/batect/index.ts
Expand Up @@ -4,7 +4,7 @@ import { extractAllPackageFiles, extractPackageFile } from './extract';
export { extractAllPackageFiles, extractPackageFile };

export const defaultConfig = {
fileMatch: ['(^|/)batect(-bundle)?\\.yml$'],
fileMatch: ['(^|/)batect(-bundle)?\\.ya?ml$'],
};

export const supportedDatasources = [GitTagsDatasource.id];
2 changes: 1 addition & 1 deletion lib/modules/manager/circleci/index.ts
Expand Up @@ -9,7 +9,7 @@ export const displayName = 'CircleCI';
export const url = 'https://circleci.com/docs/configuration-reference';

export const defaultConfig = {
fileMatch: ['(^|/)\\.circleci/config\\.yml$'],
fileMatch: ['(^|/)\\.circleci/config\\.ya?ml$'],
};

export const supportedDatasources = [DockerDatasource.id, OrbDatasource.id];
2 changes: 1 addition & 1 deletion lib/modules/manager/flux/common.ts
@@ -1,7 +1,7 @@
import { regEx } from '../../../util/regex';

export const systemManifestRegex =
'(^|/)flux-system/(?:.+/)?gotk-components\\.yaml$';
'(^|/)flux-system/(?:.+/)?gotk-components\\.ya?ml$';

export function isSystemManifest(file: string): boolean {
return regEx(systemManifestRegex).test(file);
Expand Down
2 changes: 1 addition & 1 deletion lib/modules/manager/gitlabci-include/index.ts
Expand Up @@ -4,7 +4,7 @@ import { extractPackageFile } from './extract';
export { extractPackageFile };

export const defaultConfig = {
fileMatch: ['\\.gitlab-ci\\.yml$'],
fileMatch: ['\\.gitlab-ci\\.ya?ml$'],
};

export const supportedDatasources = [GitlabTagsDatasource.id];
2 changes: 1 addition & 1 deletion lib/modules/manager/gitlabci/index.ts
Expand Up @@ -7,7 +7,7 @@ export const language: ProgrammingLanguage = 'docker';
export { extractAllPackageFiles, extractPackageFile };

export const defaultConfig = {
fileMatch: ['\\.gitlab-ci\\.yml$'],
fileMatch: ['\\.gitlab-ci\\.ya?ml$'],
};

export const supportedDatasources = [DockerDatasource.id];
2 changes: 1 addition & 1 deletion lib/modules/manager/helm-requirements/index.ts
Expand Up @@ -6,7 +6,7 @@ export const defaultConfig = {
stable: 'https://charts.helm.sh/stable',
},
commitMessageTopic: 'helm chart {{depName}}',
fileMatch: ['(^|/)requirements\\.yaml$'],
fileMatch: ['(^|/)requirements\\.ya?ml$'],
};

export const supportedDatasources = [HelmDatasource.id];
2 changes: 1 addition & 1 deletion lib/modules/manager/helm-values/index.ts
Expand Up @@ -3,7 +3,7 @@ export { extractPackageFile } from './extract';

export const defaultConfig = {
commitMessageTopic: 'helm values {{depName}}',
fileMatch: ['(^|/)values\\.yaml$'],
fileMatch: ['(^|/)values\\.ya?ml$'],
pinDigests: false,
};

Expand Down
2 changes: 1 addition & 1 deletion lib/modules/manager/helmfile/index.ts
Expand Up @@ -10,7 +10,7 @@ export const defaultConfig = {
stable: 'https://charts.helm.sh/stable',
},
commitMessageTopic: 'helm chart {{depName}}',
fileMatch: ['(^|/)helmfile\\.yaml$'],
fileMatch: ['(^|/)helmfile\\.ya?ml$'],
};

export const supportedDatasources = [HelmDatasource.id, DockerDatasource.id];
2 changes: 1 addition & 1 deletion lib/modules/manager/helmv3/index.ts
Expand Up @@ -11,7 +11,7 @@ export const defaultConfig = {
stable: 'https://charts.helm.sh/stable',
},
commitMessageTopic: 'helm chart {{depName}}',
fileMatch: ['(^|/)Chart\\.yaml$'],
fileMatch: ['(^|/)Chart\\.ya?ml$'],
};

export const supportedDatasources = [DockerDatasource.id, HelmDatasource.id];
2 changes: 1 addition & 1 deletion lib/modules/manager/pre-commit/index.ts
Expand Up @@ -10,7 +10,7 @@ export const supportedDatasources = [
export const defaultConfig = {
commitMessageTopic: 'pre-commit hook {{depName}}',
enabled: false,
fileMatch: ['(^|/)\\.pre-commit-config\\.yaml$'],
fileMatch: ['(^|/)\\.pre-commit-config\\.ya?ml$'],
prBodyNotes: [
'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.',
],
Expand Down
2 changes: 1 addition & 1 deletion lib/modules/manager/travis/index.ts
Expand Up @@ -9,7 +9,7 @@ export const language: ProgrammingLanguage = 'node';
export const supportedDatasources = [GithubTagsDatasource.id];

export const defaultConfig = {
fileMatch: ['^\\.travis\\.yml$'],
fileMatch: ['^\\.travis\\.ya?ml$'],
major: {
enabled: false,
},
Expand Down