@factorialco/gat
Advanced tools
Comparing version 1.1.5 to 1.2.0
@@ -1,3 +0,3 @@ | ||
export declare type EventName = "push" | "pull_request" | "pull_request_review" | "workflow_run" | "workflow_dispatch" | "schedule" | "pull_request_target"; | ||
export declare type EventOptions<T extends EventName> = T extends "push" ? PushEventOptions : T extends "pull_request" ? PullRequestEventOptions : T extends "pull_request_review" ? PullRequestReviewEventOptions : T extends "workflow_run" ? WorkflowRunEventOptions : T extends "workflow_dispatch" ? WorkflowDispatchEventOptions : T extends "schedule" ? ScheduleEventOptions : never; | ||
export declare type EventName = "push" | "pull_request" | "pull_request_review" | "workflow_run" | "workflow_dispatch" | "schedule" | "pull_request_target" | "merge_group"; | ||
export declare type EventOptions<T extends EventName> = T extends "push" ? PushEventOptions : T extends "pull_request" ? PullRequestEventOptions : T extends "pull_request_review" ? PullRequestReviewEventOptions : T extends "workflow_run" ? WorkflowRunEventOptions : T extends "workflow_dispatch" ? WorkflowDispatchEventOptions : T extends "schedule" ? ScheduleEventOptions : T extends "merge_group" ? MergeGroupEventOptions : never; | ||
interface PushEventOptions { | ||
@@ -33,2 +33,5 @@ branches?: string[]; | ||
}>; | ||
interface MergeGroupEventOptions { | ||
types?: Array<"checks_requested">; | ||
} | ||
export interface Event { | ||
@@ -35,0 +38,0 @@ name: EventName; |
{ | ||
"name": "@factorialco/gat", | ||
"version": "1.1.5", | ||
"version": "1.2.0", | ||
"description": "Write your GitHub Actions workflows using TypeScript", | ||
@@ -5,0 +5,0 @@ "bin": { |
@@ -92,2 +92,2 @@ # gat ![Build](https://github.com/factorialco/gat/actions/workflows/build.yml/badge.svg?branch=main) [![npm version](https://badge.fury.io/js/@factorialco%2Fgat.svg)](https://badge.fury.io/js/@factorialco%2Fgat) | ||
TODO | ||
MIT |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
24912
574