Implement handling of new filters in typescript converter

This commit is contained in:
Lawrence Gripper
2025-09-25 08:46:57 +00:00
committed by GitHub
parent 300c0dc569
commit fcc72a8d97
5 changed files with 31 additions and 4 deletions
@@ -129,6 +129,7 @@ export type EventsConfig = {
repository_dispatch?: TypesFilterConfig;
release?: TypesFilterConfig;
watch?: TypesFilterConfig;
image_versions?: TypesFilterConfig & VersionsFilterConfig & NamesFilterConfig;
// Index signature to allow easier lookup
[eventName: string]: unknown;
@@ -138,6 +139,14 @@ export type TypesFilterConfig = {
types?: string[];
};
export type VersionsFilterConfig = {
versions?: string[];
};
export type NamesFilterConfig = {
names?: string[];
};
export type BranchFilterConfig = {
branches?: string[];
"branches-ignore"?: string[];