@alwaysmeticulous/api 2.188.0 → 2.189.0

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.
@@ -35,6 +35,12 @@ export interface TestRunGitHubPushContext {
35
35
  ref: string;
36
36
  /** GitHub Actions run ID that triggered this test run */
37
37
  runId?: number;
38
+ /**
39
+ * Defined if we fell back to marking the trigger as a push, because for some reason we couldn't
40
+ * identify a single pull request to post the comments & checks on; or we don't want to post any
41
+ * comments or checks on any pull requests
42
+ */
43
+ reasonPullRequestIsNotAvailable?: ReasonPullRequestIsNotAvailable;
38
44
  }
39
45
  export interface TestRunGitHubWorkflowDispatchContext {
40
46
  type: "github";
@@ -108,3 +114,4 @@ export interface TestRunBitbucketPushContext {
108
114
  /** Git ref for the branch (/refs/head/<branch>) */
109
115
  ref: string;
110
116
  }
117
+ export type ReasonPullRequestIsNotAvailable = "no-pull-requests-found-for-commit" | "multiple-pull-requests-for-same-commit" | "all-pull-requests-had-skip-meticulous-label" | "only-found-merged-pull-requests-for-which-commit-is-the-merge-commit";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alwaysmeticulous/api",
3
- "version": "2.188.0",
3
+ "version": "2.189.0",
4
4
  "description": "Meticulous API types",
5
5
  "license": "ISC",
6
6
  "main": "dist/index.js",
@@ -35,5 +35,5 @@
35
35
  "bugs": {
36
36
  "url": "https://github.com/alwaysmeticulous/meticulous-sdk/issues"
37
37
  },
38
- "gitHead": "4d6aa04424e8c7438d3bc237860594030841d152"
38
+ "gitHead": "13157dddb2b56ba517a67ace75e8441cdf2d7cc1"
39
39
  }