Skip to content

Commit

Permalink
fix: Match both yaml and yml in all managers (#22416)
Browse files Browse the repository at this point in the history
  • Loading branch information
zharinov committed May 24, 2023
1 parent c146878 commit f5dc5eb
Show file tree
Hide file tree
Showing 11 changed files with 11 additions and 11 deletions.
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

0 comments on commit f5dc5eb

Please sign in to comment.