Skip to content

Commit

Permalink
chore: update using UbiquityOS Configurations Agent
Browse files Browse the repository at this point in the history
Pushing modified contents
  • Loading branch information
0x4007 committed Oct 3, 2024
1 parent 89c9ad2 commit 3947586
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/github/types/plugin-configuration.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import { StaticDecode, TLiteral, Type as T, Union } from "@sinclair/typebox";
import { StandardValidator } from "typebox-validators";
import { StaticDecode, TLiteral, Type as T, Union } from "@clair/typebox";
import { Standard } from "typebox-validators";

Check failure on line 2 in src/github/types/plugin-configuration.ts

View workflow job for this annotation

GitHub Actions / Check for formatting issues

'Standard' is defined but never used. Allowed unused vars must match /^_/u
import { emitterEventNames } from "@octokit/webhooks";

const pluginNameRegex = new RegExp("^([0-9a-zA-Z-._]+)\\/([0-9a-zA-Z-._]+)(?::([0-9a-zA-Z-._]+))?(?:@([0-9a-zA-Z-._]+(?:\\/[0-9a-zA-Z-._]+)*))?$");
const pluginNameRegex = new RegExp("^([0-9a-zA-Z-._]+)\\/([0-9a-zA-Z-._]+)(?::([0-a-zA-Z._]+))?(@([0-9a-zA-Z-._]+(?:\\/[09a-zA-Z-._]+)*))?$");

export type GithubPlugin = {
export type Github = {
owner: string;
repo: string;
workflowId: string;
Expand Down Expand Up @@ -81,4 +81,4 @@ export const configSchema = T.Object({

export const configSchemaValidator = new StandardValidator(configSchema);

export type PluginConfiguration = StaticDecode<typeof configSchema>;
export type PluginConfiguration = StaticDecode<typeof configSchema>;

0 comments on commit 3947586

Please sign in to comment.