Skip to content

Commit

Permalink
feat(manager/asdf): add typos (#23566)
Browse files Browse the repository at this point in the history
  • Loading branch information
kachick committed Jul 26, 2023
1 parent 2159444 commit 450350e
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
8 changes: 8 additions & 0 deletions lib/modules/manager/asdf/extract.spec.ts
Expand Up @@ -105,6 +105,7 @@ maestro 1.24.0
detekt 1.21.0
ktlint 0.48.1
yamlfmt 0.9.0
typos 1.16.1
dummy 1.2.3
`
);
Expand Down Expand Up @@ -516,6 +517,13 @@ dummy 1.2.3
depName: 'yamlfmt',
extractVersion: '^v(?<version>\\S+)',
},
{
currentValue: '1.16.1',
datasource: 'github-releases',
packageName: 'crate-ci/typos',
depName: 'typos',
extractVersion: '^v(?<version>\\S+)',
},
{
depName: 'dummy',
skipReason: 'unsupported-datasource',
Expand Down
8 changes: 8 additions & 0 deletions lib/modules/manager/asdf/upgradeable-tooling.ts
Expand Up @@ -554,4 +554,12 @@ export const upgradeableTooling: Record<string, ToolingDefinition> = {
extractVersion: '^v(?<version>\\S+)',
},
},
typos: {
asdfPluginUrl: 'https://github.com/aschiavon91/asdf-typos',
config: {
datasource: GithubReleasesDatasource.id,
packageName: 'crate-ci/typos',
extractVersion: '^v(?<version>\\S+)',
},
},
};

0 comments on commit 450350e

Please sign in to comment.