-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* ci: use new mason-org actions This makes use of the new upstream [Renovate config](https://github.com/mason-org/registry-renovate-config) and [actions](mason-org/actions#4), significantly reducing boilerplate. This will function the same as before. You might however need to review branch protection rules if you have enabled the "require status check" feature (recommended to have it enabled for the ["Status check" step](https://github.com/mason-org/actions/blob/main/.github/workflows/package-tests.yaml#L96)). * ci: add names to jobs * chore: remove schemas
- Loading branch information
1 parent
7ca6d40
commit 0830092
Showing
34 changed files
with
19 additions
and
1,599 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,6 +6,7 @@ on: | |
|
||
jobs: | ||
validate: | ||
name: Actionlint | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,102 +1,3 @@ | ||
{ | ||
automerge: true, | ||
dependencyDashboard: true, | ||
platformAutomerge: true, | ||
automergeType: "pr", | ||
commitMessage: "bump({{decodeURIComponent depName}}): update {{commitMessageExtra}}", | ||
separateMajorMinor: false, | ||
prHourlyLimit: 0, | ||
prConcurrentLimit: 0, | ||
branchConcurrentLimit: 0, | ||
rebaseWhen: "conflicted", | ||
enabledManagers: ["regex"], | ||
regexManagers: [ | ||
{ | ||
fileMatch: "package\\.yaml$", | ||
matchStringsStrategy: "combination", | ||
matchStrings: [ | ||
"\n id:\\s+pkg:github\\/(?<packageName>.+)@(?<currentValue>[^\\s\\?#]+)", | ||
"\nname: (?<depName>.+)", | ||
"# renovate:datasource=git-refs[\\s\\S]*pkg:github\\/(?<packageName>.+)@(?<currentDigest>[^\\s\\?#]+)", | ||
"# renovate:.*versioning=(?<versioning>[^,\n]+)", | ||
"# renovate:.*datasource=(?<datasource>[^,\n]+)", | ||
], | ||
datasourceTemplate: "{{#if datasource}}{{{datasource}}}{{else}}github-releases{{/if}}", | ||
versioningTemplate: "{{#if versioning}}{{{versioning}}}{{else}}semver{{/if}}", | ||
packageNameTemplate: "{{#if (containsString datasource 'git-refs')}}https://github.com/{{{packageName}}}{{else}}{{{packageName}}}{{/if}}", | ||
currentValueTemplate: "{{#if (containsString datasource 'git-refs')}}{{else}}{{currentValue}}{{/if}}", | ||
}, | ||
{ | ||
fileMatch: "package\\.yaml$", | ||
matchStringsStrategy: "combination", | ||
matchStrings: [ | ||
"\nname: (?<depName>.+)", | ||
"\n id:\\s+pkg:cargo\\/(?<packageName>.+)@(?<currentValue>[^\\s\\?#]+)", | ||
"\\?.*repository_url=(?<githubRepo>https:\\/\\/github\\.com)\\/(?<packageName>[^\\s&]+)", | ||
"# renovate:.*versioning=(?<versioning>[^,\n]+)", | ||
], | ||
datasourceTemplate: "{{#if githubRepo}}github-tags{{else}}crate{{/if}}", | ||
// In cargo versioning, "1.2.3" doesn't mean "exactly 1.2.3" but rather ">=1.2.3 <2.0.0". | ||
// We on the other hand do want to treat versions as fixed - so we change versioning strategy. | ||
versioningTemplate: "semver", | ||
}, | ||
{ | ||
fileMatch: "package\\.yaml$", | ||
matchStringsStrategy: "combination", | ||
matchStrings: [ | ||
"\nname: (?<depName>.+)", | ||
"\n id:\\s+pkg:golang\\/(?<packageName>.+)@(?<currentValue>[^\\s\\?#]+)", | ||
], | ||
datasourceTemplate: "go", | ||
}, | ||
{ | ||
fileMatch: "package\\.yaml$", | ||
matchStringsStrategy: "combination", | ||
matchStrings: [ | ||
"\nname: (?<depName>.+)", | ||
"\n id:\\s+pkg:gem\\/(?<packageName>.+)@(?<currentValue>[^\\s\\?#]+)", | ||
], | ||
datasourceTemplate: "rubygems", | ||
}, | ||
{ | ||
fileMatch: "package\\.yaml$", | ||
matchStringsStrategy: "combination", | ||
matchStrings: [ | ||
"\nname: (?<depName>.+)", | ||
"\n id:\\s+pkg:composer\\/(?<packageName>.+)@(?<currentValue>[^\\s\\?#]+)", | ||
], | ||
datasourceTemplate: "packagist", | ||
}, | ||
{ | ||
fileMatch: "package\\.yaml$", | ||
matchStringsStrategy: "combination", | ||
matchStrings: [ | ||
"\nname: (?<depName>.+)", | ||
"\n id:\\s+pkg:(?<datasource>npm|pypi|nuget)\\/(?<packageName>.+)@(?<currentValue>[^\\s\\?#]+)", | ||
], | ||
datasourceTemplate: "{{datasource}}", | ||
}, | ||
{ | ||
fileMatch: "package\\.yaml$", | ||
matchStringsStrategy: "combination", | ||
matchStrings: [ | ||
"\nname: (?<depName>.+)", | ||
"\n id:\\s+pkg:generic\\/(?<packageName>.+)@(?<currentValue>[^\\s\\?#]+)", | ||
"# renovate:.*versioning=(?<versioning>[^,\n]+)", | ||
"# renovate:.*datasource=(?<datasource>[^,\n]+)", | ||
], | ||
datasourceTemplate: "{{{datasource}}}", | ||
versioningTemplate: "{{#if versioning}}{{{versioning}}}{{else}}semver{{/if}}", | ||
}, | ||
], | ||
packageRules: [ | ||
{ | ||
matchDepNames: ["cucumber-language-server"], | ||
allowedVersions: "!/^1\\.[34]\\.0/" | ||
}, | ||
{ | ||
matchDepNames: ["rustfmt"], | ||
allowedVersions: "<=1.5.1" | ||
} | ||
] | ||
extends: ["github>mason-org/registry-renovate-config"] | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.