typescript-github-action-template 0.2.25 → 0.2.27

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.
@@ -1291,8 +1291,6 @@ export type Bot = Actor & Node & UniformResourceLocatable & {
1291
1291
  export type BotAvatarUrlArgs = {
1292
1292
  size?: InputMaybe<Scalars['Int']['input']>;
1293
1293
  };
1294
- /** Used when either Bot or User are accepted. */
1295
- export type BotOrUser = Bot | User;
1296
1294
  /** Types which can be actors for `BranchActorAllowance` objects. */
1297
1295
  export type BranchActorAllowanceActor = App | Team | User;
1298
1296
  /** Parameters to be used for the branch_name_pattern rule */
@@ -2289,7 +2287,10 @@ export type ClosedEvent = Node & UniformResourceLocatable & {
2289
2287
  id: Scalars['ID']['output'];
2290
2288
  /** The HTTP path for this closed event. */
2291
2289
  resourcePath: Scalars['URI']['output'];
2292
- /** The reason the issue state was changed to closed. */
2290
+ /**
2291
+ * The reason the issue state was changed to closed.
2292
+ * @deprecated The state reason for duplicate issue is now returned by default. Removal on 2025-10-01 UTC.
2293
+ */
2293
2294
  stateReason?: Maybe<IssueStateReason>;
2294
2295
  /** The HTTP URL for this closed event. */
2295
2296
  url: Scalars['URI']['output'];
@@ -3122,7 +3123,10 @@ export type ContributionOrder = {
3122
3123
  /** The ordering direction. */
3123
3124
  direction: OrderDirection;
3124
3125
  };
3125
- /** A contributions collection aggregates contributions such as opened issues and commits created by a user. */
3126
+ /**
3127
+ * A collection of contributions made by a user, including opened issues, commits, and pull requests.
3128
+ * Contributions in private and internal repositories are only included with the optional read:user scope.
3129
+ */
3126
3130
  export type ContributionsCollection = {
3127
3131
  __typename: 'ContributionsCollection';
3128
3132
  /** Commit contributions made by the user, grouped by repository. */
@@ -3248,11 +3252,17 @@ export type ContributionsCollection = {
3248
3252
  /** The user who made the contributions in this collection. */
3249
3253
  user: User;
3250
3254
  };
3251
- /** A contributions collection aggregates contributions such as opened issues and commits created by a user. */
3255
+ /**
3256
+ * A collection of contributions made by a user, including opened issues, commits, and pull requests.
3257
+ * Contributions in private and internal repositories are only included with the optional read:user scope.
3258
+ */
3252
3259
  export type ContributionsCollectionCommitContributionsByRepositoryArgs = {
3253
3260
  maxRepositories?: InputMaybe<Scalars['Int']['input']>;
3254
3261
  };
3255
- /** A contributions collection aggregates contributions such as opened issues and commits created by a user. */
3262
+ /**
3263
+ * A collection of contributions made by a user, including opened issues, commits, and pull requests.
3264
+ * Contributions in private and internal repositories are only included with the optional read:user scope.
3265
+ */
3256
3266
  export type ContributionsCollectionIssueContributionsArgs = {
3257
3267
  after?: InputMaybe<Scalars['String']['input']>;
3258
3268
  before?: InputMaybe<Scalars['String']['input']>;
@@ -3262,13 +3272,19 @@ export type ContributionsCollectionIssueContributionsArgs = {
3262
3272
  last?: InputMaybe<Scalars['Int']['input']>;
3263
3273
  orderBy?: InputMaybe<ContributionOrder>;
3264
3274
  };
3265
- /** A contributions collection aggregates contributions such as opened issues and commits created by a user. */
3275
+ /**
3276
+ * A collection of contributions made by a user, including opened issues, commits, and pull requests.
3277
+ * Contributions in private and internal repositories are only included with the optional read:user scope.
3278
+ */
3266
3279
  export type ContributionsCollectionIssueContributionsByRepositoryArgs = {
3267
3280
  excludeFirst?: InputMaybe<Scalars['Boolean']['input']>;
3268
3281
  excludePopular?: InputMaybe<Scalars['Boolean']['input']>;
3269
3282
  maxRepositories?: InputMaybe<Scalars['Int']['input']>;
3270
3283
  };
3271
- /** A contributions collection aggregates contributions such as opened issues and commits created by a user. */
3284
+ /**
3285
+ * A collection of contributions made by a user, including opened issues, commits, and pull requests.
3286
+ * Contributions in private and internal repositories are only included with the optional read:user scope.
3287
+ */
3272
3288
  export type ContributionsCollectionPullRequestContributionsArgs = {
3273
3289
  after?: InputMaybe<Scalars['String']['input']>;
3274
3290
  before?: InputMaybe<Scalars['String']['input']>;
@@ -3278,13 +3294,19 @@ export type ContributionsCollectionPullRequestContributionsArgs = {
3278
3294
  last?: InputMaybe<Scalars['Int']['input']>;
3279
3295
  orderBy?: InputMaybe<ContributionOrder>;
3280
3296
  };
3281
- /** A contributions collection aggregates contributions such as opened issues and commits created by a user. */
3297
+ /**
3298
+ * A collection of contributions made by a user, including opened issues, commits, and pull requests.
3299
+ * Contributions in private and internal repositories are only included with the optional read:user scope.
3300
+ */
3282
3301
  export type ContributionsCollectionPullRequestContributionsByRepositoryArgs = {
3283
3302
  excludeFirst?: InputMaybe<Scalars['Boolean']['input']>;
3284
3303
  excludePopular?: InputMaybe<Scalars['Boolean']['input']>;
3285
3304
  maxRepositories?: InputMaybe<Scalars['Int']['input']>;
3286
3305
  };
3287
- /** A contributions collection aggregates contributions such as opened issues and commits created by a user. */
3306
+ /**
3307
+ * A collection of contributions made by a user, including opened issues, commits, and pull requests.
3308
+ * Contributions in private and internal repositories are only included with the optional read:user scope.
3309
+ */
3288
3310
  export type ContributionsCollectionPullRequestReviewContributionsArgs = {
3289
3311
  after?: InputMaybe<Scalars['String']['input']>;
3290
3312
  before?: InputMaybe<Scalars['String']['input']>;
@@ -3292,11 +3314,17 @@ export type ContributionsCollectionPullRequestReviewContributionsArgs = {
3292
3314
  last?: InputMaybe<Scalars['Int']['input']>;
3293
3315
  orderBy?: InputMaybe<ContributionOrder>;
3294
3316
  };
3295
- /** A contributions collection aggregates contributions such as opened issues and commits created by a user. */
3317
+ /**
3318
+ * A collection of contributions made by a user, including opened issues, commits, and pull requests.
3319
+ * Contributions in private and internal repositories are only included with the optional read:user scope.
3320
+ */
3296
3321
  export type ContributionsCollectionPullRequestReviewContributionsByRepositoryArgs = {
3297
3322
  maxRepositories?: InputMaybe<Scalars['Int']['input']>;
3298
3323
  };
3299
- /** A contributions collection aggregates contributions such as opened issues and commits created by a user. */
3324
+ /**
3325
+ * A collection of contributions made by a user, including opened issues, commits, and pull requests.
3326
+ * Contributions in private and internal repositories are only included with the optional read:user scope.
3327
+ */
3300
3328
  export type ContributionsCollectionRepositoryContributionsArgs = {
3301
3329
  after?: InputMaybe<Scalars['String']['input']>;
3302
3330
  before?: InputMaybe<Scalars['String']['input']>;
@@ -3305,27 +3333,42 @@ export type ContributionsCollectionRepositoryContributionsArgs = {
3305
3333
  last?: InputMaybe<Scalars['Int']['input']>;
3306
3334
  orderBy?: InputMaybe<ContributionOrder>;
3307
3335
  };
3308
- /** A contributions collection aggregates contributions such as opened issues and commits created by a user. */
3336
+ /**
3337
+ * A collection of contributions made by a user, including opened issues, commits, and pull requests.
3338
+ * Contributions in private and internal repositories are only included with the optional read:user scope.
3339
+ */
3309
3340
  export type ContributionsCollectionTotalIssueContributionsArgs = {
3310
3341
  excludeFirst?: InputMaybe<Scalars['Boolean']['input']>;
3311
3342
  excludePopular?: InputMaybe<Scalars['Boolean']['input']>;
3312
3343
  };
3313
- /** A contributions collection aggregates contributions such as opened issues and commits created by a user. */
3344
+ /**
3345
+ * A collection of contributions made by a user, including opened issues, commits, and pull requests.
3346
+ * Contributions in private and internal repositories are only included with the optional read:user scope.
3347
+ */
3314
3348
  export type ContributionsCollectionTotalPullRequestContributionsArgs = {
3315
3349
  excludeFirst?: InputMaybe<Scalars['Boolean']['input']>;
3316
3350
  excludePopular?: InputMaybe<Scalars['Boolean']['input']>;
3317
3351
  };
3318
- /** A contributions collection aggregates contributions such as opened issues and commits created by a user. */
3352
+ /**
3353
+ * A collection of contributions made by a user, including opened issues, commits, and pull requests.
3354
+ * Contributions in private and internal repositories are only included with the optional read:user scope.
3355
+ */
3319
3356
  export type ContributionsCollectionTotalRepositoriesWithContributedIssuesArgs = {
3320
3357
  excludeFirst?: InputMaybe<Scalars['Boolean']['input']>;
3321
3358
  excludePopular?: InputMaybe<Scalars['Boolean']['input']>;
3322
3359
  };
3323
- /** A contributions collection aggregates contributions such as opened issues and commits created by a user. */
3360
+ /**
3361
+ * A collection of contributions made by a user, including opened issues, commits, and pull requests.
3362
+ * Contributions in private and internal repositories are only included with the optional read:user scope.
3363
+ */
3324
3364
  export type ContributionsCollectionTotalRepositoriesWithContributedPullRequestsArgs = {
3325
3365
  excludeFirst?: InputMaybe<Scalars['Boolean']['input']>;
3326
3366
  excludePopular?: InputMaybe<Scalars['Boolean']['input']>;
3327
3367
  };
3328
- /** A contributions collection aggregates contributions such as opened issues and commits created by a user. */
3368
+ /**
3369
+ * A collection of contributions made by a user, including opened issues, commits, and pull requests.
3370
+ * Contributions in private and internal repositories are only included with the optional read:user scope.
3371
+ */
3329
3372
  export type ContributionsCollectionTotalRepositoryContributionsArgs = {
3330
3373
  excludeFirst?: InputMaybe<Scalars['Boolean']['input']>;
3331
3374
  };
@@ -8827,7 +8870,10 @@ export type Issue = Assignable & Closable & Comment & Deletable & Labelable & Lo
8827
8870
  resourcePath: Scalars['URI']['output'];
8828
8871
  /** Identifies the state of the issue. */
8829
8872
  state: IssueState;
8830
- /** Identifies the reason for the issue state. */
8873
+ /**
8874
+ * Identifies the reason for the issue state.
8875
+ * @deprecated The state reason for duplicate issue is now returned by default. Removal on 2025-10-01 UTC.
8876
+ */
8831
8877
  stateReason?: Maybe<IssueStateReason>;
8832
8878
  /** A list of sub-issues associated with the Issue. */
8833
8879
  subIssues: IssueConnection;
@@ -9267,10 +9313,7 @@ export type IssueState =
9267
9313
  export type IssueStateReason =
9268
9314
  /** An issue that has been closed as completed */
9269
9315
  'COMPLETED'
9270
- /**
9271
- * An issue that has been closed as a duplicate. To retrieve this value, set
9272
- * `(enableDuplicate: true)` when querying the stateReason field.
9273
- */
9316
+ /** An issue that has been closed as a duplicate. */
9274
9317
  | 'DUPLICATE'
9275
9318
  /** An issue that has been closed as not planned */
9276
9319
  | 'NOT_PLANNED'
@@ -25837,6 +25880,8 @@ export type ReprioritizeSubIssuePayload = {
25837
25880
  };
25838
25881
  /** Autogenerated input type of RequestReviews */
25839
25882
  export type RequestReviewsInput = {
25883
+ /** The Node IDs of the bot to request. */
25884
+ botIds?: InputMaybe<Array<Scalars['ID']['input']>>;
25840
25885
  /** A unique identifier for the client performing the mutation. */
25841
25886
  clientMutationId?: InputMaybe<Scalars['String']['input']>;
25842
25887
  /** The Node ID of the pull request to modify. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "typescript-github-action-template",
3
- "version": "0.2.25",
3
+ "version": "0.2.27",
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",
@@ -30,12 +30,12 @@
30
30
  "@0no-co/graphqlsp": "^1.12.12",
31
31
  "@eslint/eslintrc": "^3.0.2",
32
32
  "@eslint/js": "^9.2.0",
33
- "@graphql-codegen/cli": "5.0.6",
33
+ "@graphql-codegen/cli": "5.0.7",
34
34
  "@graphql-codegen/near-operation-file-preset": "^3.0.0",
35
35
  "@graphql-codegen/typescript": "4.1.6",
36
36
  "@graphql-codegen/typescript-document-nodes": "4.0.16",
37
37
  "@serverless-guru/prettier-plugin-import-order": "^0.4.2",
38
- "@types/node": "^22.0.0",
38
+ "@types/node": "^24.0.0",
39
39
  "@typescript-eslint/eslint-plugin": "^8.0.0",
40
40
  "@typescript-eslint/parser": "^8.0.0",
41
41
  "@vercel/ncc": "^0.38.0",