typescript-github-action-template 0.2.24 → 0.2.26

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 */
@@ -2283,6 +2281,8 @@ export type ClosedEvent = Node & UniformResourceLocatable & {
2283
2281
  closer?: Maybe<Closer>;
2284
2282
  /** Identifies the date and time when the object was created. */
2285
2283
  createdAt: Scalars['DateTime']['output'];
2284
+ /** The issue or pull request that this issue was marked as a duplicate of. */
2285
+ duplicateOf?: Maybe<IssueOrPullRequest>;
2286
2286
  /** The Node ID of the ClosedEvent object */
2287
2287
  id: Scalars['ID']['output'];
2288
2288
  /** The HTTP path for this closed event. */
@@ -3120,7 +3120,10 @@ export type ContributionOrder = {
3120
3120
  /** The ordering direction. */
3121
3121
  direction: OrderDirection;
3122
3122
  };
3123
- /** A contributions collection aggregates contributions such as opened issues and commits created by a user. */
3123
+ /**
3124
+ * A collection of contributions made by a user, including opened issues, commits, and pull requests.
3125
+ * Contributions in private and internal repositories are only included with the optional read:user scope.
3126
+ */
3124
3127
  export type ContributionsCollection = {
3125
3128
  __typename: 'ContributionsCollection';
3126
3129
  /** Commit contributions made by the user, grouped by repository. */
@@ -3246,11 +3249,17 @@ export type ContributionsCollection = {
3246
3249
  /** The user who made the contributions in this collection. */
3247
3250
  user: User;
3248
3251
  };
3249
- /** A contributions collection aggregates contributions such as opened issues and commits created by a user. */
3252
+ /**
3253
+ * A collection of contributions made by a user, including opened issues, commits, and pull requests.
3254
+ * Contributions in private and internal repositories are only included with the optional read:user scope.
3255
+ */
3250
3256
  export type ContributionsCollectionCommitContributionsByRepositoryArgs = {
3251
3257
  maxRepositories?: InputMaybe<Scalars['Int']['input']>;
3252
3258
  };
3253
- /** A contributions collection aggregates contributions such as opened issues and commits created by a user. */
3259
+ /**
3260
+ * A collection of contributions made by a user, including opened issues, commits, and pull requests.
3261
+ * Contributions in private and internal repositories are only included with the optional read:user scope.
3262
+ */
3254
3263
  export type ContributionsCollectionIssueContributionsArgs = {
3255
3264
  after?: InputMaybe<Scalars['String']['input']>;
3256
3265
  before?: InputMaybe<Scalars['String']['input']>;
@@ -3260,13 +3269,19 @@ export type ContributionsCollectionIssueContributionsArgs = {
3260
3269
  last?: InputMaybe<Scalars['Int']['input']>;
3261
3270
  orderBy?: InputMaybe<ContributionOrder>;
3262
3271
  };
3263
- /** A contributions collection aggregates contributions such as opened issues and commits created by a user. */
3272
+ /**
3273
+ * A collection of contributions made by a user, including opened issues, commits, and pull requests.
3274
+ * Contributions in private and internal repositories are only included with the optional read:user scope.
3275
+ */
3264
3276
  export type ContributionsCollectionIssueContributionsByRepositoryArgs = {
3265
3277
  excludeFirst?: InputMaybe<Scalars['Boolean']['input']>;
3266
3278
  excludePopular?: InputMaybe<Scalars['Boolean']['input']>;
3267
3279
  maxRepositories?: InputMaybe<Scalars['Int']['input']>;
3268
3280
  };
3269
- /** A contributions collection aggregates contributions such as opened issues and commits created by a user. */
3281
+ /**
3282
+ * A collection of contributions made by a user, including opened issues, commits, and pull requests.
3283
+ * Contributions in private and internal repositories are only included with the optional read:user scope.
3284
+ */
3270
3285
  export type ContributionsCollectionPullRequestContributionsArgs = {
3271
3286
  after?: InputMaybe<Scalars['String']['input']>;
3272
3287
  before?: InputMaybe<Scalars['String']['input']>;
@@ -3276,13 +3291,19 @@ export type ContributionsCollectionPullRequestContributionsArgs = {
3276
3291
  last?: InputMaybe<Scalars['Int']['input']>;
3277
3292
  orderBy?: InputMaybe<ContributionOrder>;
3278
3293
  };
3279
- /** A contributions collection aggregates contributions such as opened issues and commits created by a user. */
3294
+ /**
3295
+ * A collection of contributions made by a user, including opened issues, commits, and pull requests.
3296
+ * Contributions in private and internal repositories are only included with the optional read:user scope.
3297
+ */
3280
3298
  export type ContributionsCollectionPullRequestContributionsByRepositoryArgs = {
3281
3299
  excludeFirst?: InputMaybe<Scalars['Boolean']['input']>;
3282
3300
  excludePopular?: InputMaybe<Scalars['Boolean']['input']>;
3283
3301
  maxRepositories?: InputMaybe<Scalars['Int']['input']>;
3284
3302
  };
3285
- /** A contributions collection aggregates contributions such as opened issues and commits created by a user. */
3303
+ /**
3304
+ * A collection of contributions made by a user, including opened issues, commits, and pull requests.
3305
+ * Contributions in private and internal repositories are only included with the optional read:user scope.
3306
+ */
3286
3307
  export type ContributionsCollectionPullRequestReviewContributionsArgs = {
3287
3308
  after?: InputMaybe<Scalars['String']['input']>;
3288
3309
  before?: InputMaybe<Scalars['String']['input']>;
@@ -3290,11 +3311,17 @@ export type ContributionsCollectionPullRequestReviewContributionsArgs = {
3290
3311
  last?: InputMaybe<Scalars['Int']['input']>;
3291
3312
  orderBy?: InputMaybe<ContributionOrder>;
3292
3313
  };
3293
- /** A contributions collection aggregates contributions such as opened issues and commits created by a user. */
3314
+ /**
3315
+ * A collection of contributions made by a user, including opened issues, commits, and pull requests.
3316
+ * Contributions in private and internal repositories are only included with the optional read:user scope.
3317
+ */
3294
3318
  export type ContributionsCollectionPullRequestReviewContributionsByRepositoryArgs = {
3295
3319
  maxRepositories?: InputMaybe<Scalars['Int']['input']>;
3296
3320
  };
3297
- /** A contributions collection aggregates contributions such as opened issues and commits created by a user. */
3321
+ /**
3322
+ * A collection of contributions made by a user, including opened issues, commits, and pull requests.
3323
+ * Contributions in private and internal repositories are only included with the optional read:user scope.
3324
+ */
3298
3325
  export type ContributionsCollectionRepositoryContributionsArgs = {
3299
3326
  after?: InputMaybe<Scalars['String']['input']>;
3300
3327
  before?: InputMaybe<Scalars['String']['input']>;
@@ -3303,27 +3330,42 @@ export type ContributionsCollectionRepositoryContributionsArgs = {
3303
3330
  last?: InputMaybe<Scalars['Int']['input']>;
3304
3331
  orderBy?: InputMaybe<ContributionOrder>;
3305
3332
  };
3306
- /** A contributions collection aggregates contributions such as opened issues and commits created by a user. */
3333
+ /**
3334
+ * A collection of contributions made by a user, including opened issues, commits, and pull requests.
3335
+ * Contributions in private and internal repositories are only included with the optional read:user scope.
3336
+ */
3307
3337
  export type ContributionsCollectionTotalIssueContributionsArgs = {
3308
3338
  excludeFirst?: InputMaybe<Scalars['Boolean']['input']>;
3309
3339
  excludePopular?: InputMaybe<Scalars['Boolean']['input']>;
3310
3340
  };
3311
- /** A contributions collection aggregates contributions such as opened issues and commits created by a user. */
3341
+ /**
3342
+ * A collection of contributions made by a user, including opened issues, commits, and pull requests.
3343
+ * Contributions in private and internal repositories are only included with the optional read:user scope.
3344
+ */
3312
3345
  export type ContributionsCollectionTotalPullRequestContributionsArgs = {
3313
3346
  excludeFirst?: InputMaybe<Scalars['Boolean']['input']>;
3314
3347
  excludePopular?: InputMaybe<Scalars['Boolean']['input']>;
3315
3348
  };
3316
- /** A contributions collection aggregates contributions such as opened issues and commits created by a user. */
3349
+ /**
3350
+ * A collection of contributions made by a user, including opened issues, commits, and pull requests.
3351
+ * Contributions in private and internal repositories are only included with the optional read:user scope.
3352
+ */
3317
3353
  export type ContributionsCollectionTotalRepositoriesWithContributedIssuesArgs = {
3318
3354
  excludeFirst?: InputMaybe<Scalars['Boolean']['input']>;
3319
3355
  excludePopular?: InputMaybe<Scalars['Boolean']['input']>;
3320
3356
  };
3321
- /** A contributions collection aggregates contributions such as opened issues and commits created by a user. */
3357
+ /**
3358
+ * A collection of contributions made by a user, including opened issues, commits, and pull requests.
3359
+ * Contributions in private and internal repositories are only included with the optional read:user scope.
3360
+ */
3322
3361
  export type ContributionsCollectionTotalRepositoriesWithContributedPullRequestsArgs = {
3323
3362
  excludeFirst?: InputMaybe<Scalars['Boolean']['input']>;
3324
3363
  excludePopular?: InputMaybe<Scalars['Boolean']['input']>;
3325
3364
  };
3326
- /** A contributions collection aggregates contributions such as opened issues and commits created by a user. */
3365
+ /**
3366
+ * A collection of contributions made by a user, including opened issues, commits, and pull requests.
3367
+ * Contributions in private and internal repositories are only included with the optional read:user scope.
3368
+ */
3327
3369
  export type ContributionsCollectionTotalRepositoryContributionsArgs = {
3328
3370
  excludeFirst?: InputMaybe<Scalars['Boolean']['input']>;
3329
3371
  };
@@ -8768,6 +8810,8 @@ export type Issue = Assignable & Closable & Comment & Deletable & Labelable & Lo
8768
8810
  createdViaEmail: Scalars['Boolean']['output'];
8769
8811
  /** Identifies the primary key from the database. */
8770
8812
  databaseId?: Maybe<Scalars['Int']['output']>;
8813
+ /** A reference to the original issue that this issue has been marked as a duplicate of. */
8814
+ duplicateOf?: Maybe<Issue>;
8771
8815
  /** The actor who edited the comment. */
8772
8816
  editor?: Maybe<Actor>;
8773
8817
  /** Identifies the primary key from the database as a BigInt. */
@@ -9657,6 +9701,8 @@ export type LabelOrder = {
9657
9701
  export type LabelOrderField =
9658
9702
  /** Order labels by creation time */
9659
9703
  'CREATED_AT'
9704
+ /** Order labels by issue count */
9705
+ | 'ISSUE_COUNT'
9660
9706
  /** Order labels by name */
9661
9707
  | 'NAME';
9662
9708
  /** An object that can have labels assigned to it. */
@@ -21519,6 +21565,8 @@ export type ReleaseAsset = Node & {
21519
21565
  contentType: Scalars['String']['output'];
21520
21566
  /** Identifies the date and time when the object was created. */
21521
21567
  createdAt: Scalars['DateTime']['output'];
21568
+ /** The SHA256 digest of the asset */
21569
+ digest?: Maybe<Scalars['String']['output']>;
21522
21570
  /** The number of times this asset was downloaded */
21523
21571
  downloadCount: Scalars['Int']['output'];
21524
21572
  /** Identifies the URL where you can download the release asset via the browser. */
@@ -25829,6 +25877,8 @@ export type ReprioritizeSubIssuePayload = {
25829
25877
  };
25830
25878
  /** Autogenerated input type of RequestReviews */
25831
25879
  export type RequestReviewsInput = {
25880
+ /** The Node IDs of the bot to request. */
25881
+ botIds?: InputMaybe<Array<Scalars['ID']['input']>>;
25832
25882
  /** A unique identifier for the client performing the mutation. */
25833
25883
  clientMutationId?: InputMaybe<Scalars['String']['input']>;
25834
25884
  /** 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.24",
3
+ "version": "0.2.26",
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",
@@ -54,8 +54,8 @@
54
54
  "dependencies": {
55
55
  "@actions/core": "^1.10.0",
56
56
  "@actions/github": "^6.0.0",
57
- "@octokit/plugin-retry": "^7.1.1",
58
- "@octokit/plugin-throttling": "^10.0.0"
57
+ "@octokit/plugin-retry": "^8.0.1",
58
+ "@octokit/plugin-throttling": "^11.0.1"
59
59
  },
60
60
  "lint-staged": {
61
61
  "*.(ts,js)": "yarn lint --fix",