Skip to content

Commit

Permalink
chore: updated manifest.json and dist build
Browse files Browse the repository at this point in the history
  • Loading branch information
ubqbot[bot] authored Nov 26, 2024
1 parent 69c1ced commit 1f20c17
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 3 deletions.
29 changes: 26 additions & 3 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -32364,13 +32364,36 @@ async function returnDataToKernel(e, t, r) {
}
var Bt = __nccwpck_require__(2874);
const yt = w.Object({ workflowName: w.String() });
const bt = w.Object({ collaborator: w.Number({ default: 1, minimum: 1 }), contributor: w.Number({ default: 2, minimum: 1 }) }, { default: {} });
const bt = w.Object(
{
collaborator: w.Number({
default: 1,
minimum: 1,
description: "The amount of validations needed to consider a pull-request by a collaborator to be deemed eligible for merge",
}),
contributor: w.Number({
default: 2,
minimum: 1,
description: "The amount of validations needed to consider a pull-request by a contributor to be deemed eligible for merge",
}),
},
{ default: {} }
);
const wt = w.Object(
{ collaborator: w.String({ default: "3.5 days", description: "The timespan to wait before merging a collaborator's pull-request" }) },
{ default: {} }
);
const Rt = w.Object({ monitor: w.Array(w.String({ minLength: 1 }), { default: [] }), ignore: w.Array(w.String(), { default: [] }) }, { default: {} });
const Tt = w.Array(w.String(), { default: ["COLLABORATOR", "MEMBER", "OWNER"] });
const Rt = w.Object(
{
monitor: w.Array(w.String({ minLength: 1 }), { default: [], description: "Repositories to watch for updates" }),
ignore: w.Array(w.String(), { default: [], description: "Repositories to ignore updates from" }),
},
{ default: {} }
);
const Tt = w.Array(w.String(), {
default: ["COLLABORATOR", "MEMBER", "OWNER"],
description: "When considering a user for a task: which roles should be considered as having review authority? All others are ignored.",
});
const kt = w.Object({
approvalsRequired: w.Optional(bt),
mergeTimeout: w.Optional(wt),
Expand Down
5 changes: 5 additions & 0 deletions manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,13 @@
"collaborator": {
"default": 1,
"minimum": 1,
"description": "The amount of validations needed to consider a pull-request by a collaborator to be deemed eligible for merge",
"type": "number"
},
"contributor": {
"default": 2,
"minimum": 1,
"description": "The amount of validations needed to consider a pull-request by a contributor to be deemed eligible for merge",
"type": "number"
}
}
Expand All @@ -38,6 +40,7 @@
"properties": {
"monitor": {
"default": [],
"description": "Repositories to watch for updates",
"type": "array",
"items": {
"minLength": 1,
Expand All @@ -46,6 +49,7 @@
},
"ignore": {
"default": [],
"description": "Repositories to ignore updates from",
"type": "array",
"items": {
"type": "string"
Expand All @@ -55,6 +59,7 @@
},
"allowedReviewerRoles": {
"default": ["COLLABORATOR", "MEMBER", "OWNER"],
"description": "When considering a user for a task: which roles should be considered as having review authority? All others are ignored.",
"type": "array",
"items": {
"type": "string"
Expand Down

0 comments on commit 1f20c17

Please sign in to comment.