Skip to content

Commit

Permalink
ci: group github action upggrades
Browse files Browse the repository at this point in the history
* ci: group github action upggrades
  • Loading branch information
gmeligio authored Feb 13, 2024
1 parent 5f3b25b commit 3d74643
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 5 deletions.
6 changes: 6 additions & 0 deletions renovate.json5

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 12 additions & 5 deletions src/patch/JsiiProjectPatch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,11 +85,18 @@ export class JsiiProjectPatch extends JsiiProject {

renovate?.patch(JsonPatch.add('/ignorePaths', ['.github/workflows/*.yml']));

renovate?.addToArray('packageRules', {
enabled: true,
matchFileNames: ['version.json'],
pinDigests: true,
});
renovate?.addToArray(
'packageRules',
{
enabled: true,
matchFileNames: ['version.json'],
pinDigests: true,
},
{
groupName: 'github-actions',
matchManagers: ['github-actions'],
}
);

// const releaseWorkflowPath = '.github/workflows/release.yml';
// const releaseWorkflow = this.tryFindObjectFile(releaseWorkflowPath);
Expand Down

0 comments on commit 3d74643

Please sign in to comment.