typescript-github-action-template 0.2.21 → 0.2.23

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.
@@ -602,7 +602,7 @@ export type AddPullRequestReviewThreadInput = {
602
602
  */
603
603
  line?: InputMaybe<Scalars['Int']['input']>;
604
604
  /** Path to the file being commented on. */
605
- path: Scalars['String']['input'];
605
+ path?: InputMaybe<Scalars['String']['input']>;
606
606
  /** The node ID of the pull request reviewing */
607
607
  pullRequestId?: InputMaybe<Scalars['ID']['input']>;
608
608
  /** The Node ID of the review to modify. */
@@ -1291,6 +1291,8 @@ 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;
1294
1296
  /** Types which can be actors for `BranchActorAllowance` objects. */
1295
1297
  export type BranchActorAllowanceActor = App | Team | User;
1296
1298
  /** Parameters to be used for the branch_name_pattern rule */
@@ -6261,10 +6263,13 @@ export type DraftPullRequestReviewComment = {
6261
6263
  export type DraftPullRequestReviewThread = {
6262
6264
  /** Body of the comment to leave. */
6263
6265
  body: Scalars['String']['input'];
6264
- /** The line of the blob to which the thread refers. The end of the line range for multi-line comments. */
6265
- line: Scalars['Int']['input'];
6266
- /** Path to the file being commented on. */
6267
- path: Scalars['String']['input'];
6266
+ /**
6267
+ * The line of the blob to which the thread refers. The end of the line range for
6268
+ * multi-line comments. Required if not using positioning.
6269
+ */
6270
+ line?: InputMaybe<Scalars['Int']['input']>;
6271
+ /** Path to the file being commented on. Required if not using positioning. */
6272
+ path?: InputMaybe<Scalars['String']['input']>;
6268
6273
  /** The side of the diff on which the line resides. For multi-line comments, this is the side for the end of the line range. */
6269
6274
  side?: InputMaybe<DiffSide>;
6270
6275
  /** The first line of the range to which the comment refers. */
@@ -10948,6 +10953,8 @@ export type Milestone = Closable & Node & UniformResourceLocatable & {
10948
10953
  closed: Scalars['Boolean']['output'];
10949
10954
  /** Identifies the date and time when the object was closed. */
10950
10955
  closedAt?: Maybe<Scalars['DateTime']['output']>;
10956
+ /** Identifies the number of closed issues associated with the milestone. */
10957
+ closedIssueCount: Scalars['Int']['output'];
10951
10958
  /** Identifies the date and time when the object was created. */
10952
10959
  createdAt: Scalars['DateTime']['output'];
10953
10960
  /** Identifies the actor who created the milestone. */
@@ -10964,6 +10971,8 @@ export type Milestone = Closable & Node & UniformResourceLocatable & {
10964
10971
  issues: IssueConnection;
10965
10972
  /** Identifies the number of the milestone. */
10966
10973
  number: Scalars['Int']['output'];
10974
+ /** Identifies the number of open issues associated with the milestone. */
10975
+ openIssueCount: Scalars['Int']['output'];
10967
10976
  /** Identifies the percentage complete for the milestone */
10968
10977
  progressPercentage: Scalars['Float']['output'];
10969
10978
  /** A list of pull requests associated with the milestone. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "typescript-github-action-template",
3
- "version": "0.2.21",
3
+ "version": "0.2.23",
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",