Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
feat(presets): create approveMajorUpdates (#22075)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
  • Loading branch information
HonkingGoose and rarkins committed May 18, 2023
1 parent 2863361 commit 4528048
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions lib/config/presets/internal/default.ts
Expand Up @@ -2,6 +2,15 @@ import type { Preset } from '../types';

/* eslint sort-keys: ["error", "asc", {caseSensitive: false, natural: true}] */
export const presets: Record<string, Preset> = {
approveMajorUpdates: {
description: 'Require dependency dashboard approval for `major` updates.',
packageRules: [
{
dependencyDashboardApproval: true,
matchUpdateTypes: ['major'],
},
],
},
assignAndReview: {
description: 'Set `{{arg0}}` as assignee and reviewer of PRs.',
extends: [':assignee({{arg0}})', ':reviewer({{arg0}})'],
Expand Down

0 comments on commit 4528048

Please sign in to comment.