typescript-github-action-template 0.2.39 → 0.2.40

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -280,7 +280,7 @@ export type ActorType =
280
280
  export type AddAssigneesToAssignableInput = {
281
281
  /** The id of the assignable object to add assignees to. */
282
282
  assignableId: Scalars['ID']['input'];
283
- /** The id of users to add as assignees. */
283
+ /** The ids of actors (users or bots) to add as assignees. */
284
284
  assigneeIds: Array<Scalars['ID']['input']>;
285
285
  /** A unique identifier for the client performing the mutation. */
286
286
  clientMutationId?: InputMaybe<Scalars['String']['input']>;
@@ -813,6 +813,15 @@ export type AddedToProjectV2Event = Node & ProjectV2Event & {
813
813
  /** Did this event result from workflow automation? */
814
814
  wasAutomated: Scalars['Boolean']['output'];
815
815
  };
816
+ /** Copilot Agentic fields in context of the current viewer. */
817
+ export type Agentic = {
818
+ /** Channel value for subscribing to live updates for session creations. */
819
+ viewerCopilotAgentCreatesChannel?: Maybe<Scalars['String']['output']>;
820
+ /** Channel value for subscribing to live updates for session log updates. */
821
+ viewerCopilotAgentLogUpdatesChannel?: Maybe<Scalars['String']['output']>;
822
+ /** Channel value for subscribing to live updates for session updates. */
823
+ viewerCopilotAgentUpdatesChannel?: Maybe<Scalars['String']['output']>;
824
+ };
816
825
  /** An announcement banner for an enterprise or organization. */
817
826
  export type AnnouncementBanner = {
818
827
  __typename: 'AnnouncementBanner';
@@ -3962,6 +3971,8 @@ export type CreateIssueInput = {
3962
3971
  parentIssueId?: InputMaybe<Scalars['ID']['input']>;
3963
3972
  /** An array of Node IDs for projects associated with this issue. */
3964
3973
  projectIds?: InputMaybe<Array<Scalars['ID']['input']>>;
3974
+ /** An array of Node IDs for Projects V2 associated with this issue. */
3975
+ projectV2Ids?: InputMaybe<Array<Scalars['ID']['input']>>;
3965
3976
  /** The Node ID of the repository. */
3966
3977
  repositoryId: Scalars['ID']['input'];
3967
3978
  /** The title for the issue. */
@@ -20361,6 +20372,12 @@ export type PullRequestParameters = {
20361
20372
  requiredApprovingReviewCount: Scalars['Int']['output'];
20362
20373
  /** All conversations on code must be resolved before a pull request can be merged. */
20363
20374
  requiredReviewThreadResolution: Scalars['Boolean']['output'];
20375
+ /**
20376
+ * This field is in beta and subject to change. A collection of reviewers and
20377
+ * associated file patterns. Each reviewer has a list of file patterns which
20378
+ * determine the files that reviewer is required to review.
20379
+ */
20380
+ requiredReviewers?: Maybe<Array<RequiredReviewerConfiguration>>;
20364
20381
  };
20365
20382
  /** Require all commits be made to a non-target branch and submitted via a pull request before they can be merged. */
20366
20383
  export type PullRequestParametersInput = {
@@ -20381,6 +20398,12 @@ export type PullRequestParametersInput = {
20381
20398
  requiredApprovingReviewCount: Scalars['Int']['input'];
20382
20399
  /** All conversations on code must be resolved before a pull request can be merged. */
20383
20400
  requiredReviewThreadResolution: Scalars['Boolean']['input'];
20401
+ /**
20402
+ * This argument is in beta and subject to change. A collection of reviewers and
20403
+ * associated file patterns. Each reviewer has a list of file patterns which
20404
+ * determine the files that reviewer is required to review.
20405
+ */
20406
+ requiredReviewers?: InputMaybe<Array<RequiredReviewerConfigurationInput>>;
20384
20407
  };
20385
20408
  /** A review object for a given pull request. */
20386
20409
  export type PullRequestReview = Comment & Deletable & Minimizable & Node & Reactable & RepositoryNode & Updatable & UpdatableComment & {
@@ -26278,6 +26301,37 @@ export type RequiredDeploymentsParametersInput = {
26278
26301
  /** The environments that must be successfully deployed to before branches can be merged. */
26279
26302
  requiredDeploymentEnvironments: Array<Scalars['String']['input']>;
26280
26303
  };
26304
+ /** A reviewing team, and file patterns describing which files they must approve changes to. */
26305
+ export type RequiredReviewerConfiguration = {
26306
+ __typename: 'RequiredReviewerConfiguration';
26307
+ /**
26308
+ * Array of file patterns. Pull requests which change matching files must be
26309
+ * approved by the specified team. File patterns use fnmatch syntax.
26310
+ */
26311
+ filePatterns: Array<Scalars['String']['output']>;
26312
+ /**
26313
+ * Minimum number of approvals required from the specified team. If set to zero,
26314
+ * the team will be added to the pull request but approval is optional.
26315
+ */
26316
+ minimumApprovals: Scalars['Int']['output'];
26317
+ /** Node ID of the team which must review changes to matching files. */
26318
+ reviewerId: Scalars['ID']['output'];
26319
+ };
26320
+ /** A reviewing team, and file patterns describing which files they must approve changes to. */
26321
+ export type RequiredReviewerConfigurationInput = {
26322
+ /**
26323
+ * Array of file patterns. Pull requests which change matching files must be
26324
+ * approved by the specified team. File patterns use fnmatch syntax.
26325
+ */
26326
+ filePatterns: Array<Scalars['String']['input']>;
26327
+ /**
26328
+ * Minimum number of approvals required from the specified team. If set to zero,
26329
+ * the team will be added to the pull request but approval is optional.
26330
+ */
26331
+ minimumApprovals: Scalars['Int']['input'];
26332
+ /** Node ID of the team which must review changes to matching files. */
26333
+ reviewerId: Scalars['ID']['input'];
26334
+ };
26281
26335
  /** Represents a required status check for a protected branch, but not any specific run of that check. */
26282
26336
  export type RequiredStatusCheckDescription = {
26283
26337
  __typename: 'RequiredStatusCheckDescription';
@@ -32206,7 +32260,7 @@ export type UpdateUserListsForItemPayload = {
32206
32260
  user?: Maybe<User>;
32207
32261
  };
32208
32262
  /** A user is an individual's account on GitHub that owns repositories and can make new content. */
32209
- export type User = Actor & Node & PackageOwner & ProfileOwner & ProjectOwner & ProjectV2Owner & ProjectV2Recent & RepositoryDiscussionAuthor & RepositoryDiscussionCommentAuthor & RepositoryOwner & Sponsorable & UniformResourceLocatable & {
32263
+ export type User = Actor & Agentic & Node & PackageOwner & ProfileOwner & ProjectOwner & ProjectV2Owner & ProjectV2Recent & RepositoryDiscussionAuthor & RepositoryDiscussionCommentAuthor & RepositoryOwner & Sponsorable & UniformResourceLocatable & {
32210
32264
  __typename: 'User';
32211
32265
  /** Determine if this repository owner has any items that can be pinned to their profile. */
32212
32266
  anyPinnableItems: Scalars['Boolean']['output'];
@@ -32409,6 +32463,12 @@ export type User = Actor & Node & PackageOwner & ProfileOwner & ProjectOwner & P
32409
32463
  viewerCanFollow: Scalars['Boolean']['output'];
32410
32464
  /** Whether or not the viewer is able to sponsor this user/organization. */
32411
32465
  viewerCanSponsor: Scalars['Boolean']['output'];
32466
+ /** Channel value for subscribing to live updates for session creations. */
32467
+ viewerCopilotAgentCreatesChannel?: Maybe<Scalars['String']['output']>;
32468
+ /** Channel value for subscribing to live updates for session log updates. */
32469
+ viewerCopilotAgentLogUpdatesChannel?: Maybe<Scalars['String']['output']>;
32470
+ /** Channel value for subscribing to live updates for session updates. */
32471
+ viewerCopilotAgentUpdatesChannel?: Maybe<Scalars['String']['output']>;
32412
32472
  /** Whether or not this user is followed by the viewer. Inverse of isFollowingViewer. */
32413
32473
  viewerIsFollowing: Scalars['Boolean']['output'];
32414
32474
  /** True if the viewer is sponsoring this user/organization. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "typescript-github-action-template",
3
- "version": "0.2.39",
3
+ "version": "0.2.40",
4
4
  "description": "A template to create custom GitHub Action with TypeScript/JavaScript.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.js",