@effected/github 0.32.1 → 0.34.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.
package/ActionsOidc.js CHANGED
@@ -11,6 +11,15 @@ const ISSUER = "https://token.actions.githubusercontent.com";
11
11
  */
12
12
  const IdFromString = Schema.String.check(Schema.isPattern(/^\d+$/)).pipe(Schema.decodeTo(Schema.Int, SchemaTransformation.numberFromString));
13
13
  /**
14
+ * A boolean as GitHub's OIDC tokens carry it: exactly the string `"true"` or
15
+ * `"false"`. Anything else (`"1"`, `"True"`, an empty string, a JSON boolean)
16
+ * does not decode.
17
+ */
18
+ const BooleanFromString = Schema.Literals(["true", "false"]).pipe(Schema.decodeTo(Schema.Boolean, SchemaTransformation.transform({
19
+ decode: (wire) => wire === "true",
20
+ encode: (value) => value ? "true" : "false"
21
+ })));
22
+ /**
14
23
  * The claims of a verified GitHub Actions OIDC token.
15
24
  *
16
25
  * @remarks
@@ -62,6 +71,20 @@ var ActionsOidcClaims = class extends Schema.Class("ActionsOidcClaims")({
62
71
  jobWorkflowRef: Schema.String,
63
72
  /** The git ref the run is for. */
64
73
  ref: Schema.String,
74
+ /**
75
+ * Whether `ref` is protected (wire key `ref_protected`): a protected
76
+ * branch, or a tag under a ruleset or tag protection. The token carries it
77
+ * as the string `"true"` or `"false"`; anything else fails verification as
78
+ * `claims`. Gate a privileged action, such as writing a build cache other
79
+ * runs restore from, on this rather than on the ref's name.
80
+ */
81
+ refProtected: BooleanFromString,
82
+ /** The kind of `ref`, `branch` or `tag` (wire key `ref_type`). */
83
+ refType: Schema.Literals(["branch", "tag"]),
84
+ /** A pull request's base ref; an empty string outside pull request events (wire key `base_ref`). */
85
+ baseRef: Schema.String,
86
+ /** A pull request's head ref; an empty string outside pull request events (wire key `head_ref`). */
87
+ headRef: Schema.String,
65
88
  /** The commit SHA the run is for. */
66
89
  sha: Schema.String,
67
90
  /** The event that triggered the run, e.g. `push` (wire key `event_name`). */
@@ -104,6 +127,10 @@ const ActionsOidcClaimsFromWire = ActionsOidcClaims.pipe(Schema.encodeKeys({
104
127
  runAttempt: "run_attempt",
105
128
  workflowRef: "workflow_ref",
106
129
  jobWorkflowRef: "job_workflow_ref",
130
+ refProtected: "ref_protected",
131
+ refType: "ref_type",
132
+ baseRef: "base_ref",
133
+ headRef: "head_ref",
107
134
  eventName: "event_name",
108
135
  actorId: "actor_id",
109
136
  runnerEnvironment: "runner_environment"
@@ -129,6 +156,10 @@ const testClaims = (overrides = {}) => ({
129
156
  workflow_ref: "octo-org/octo-repo/.github/workflows/ci.yml@refs/heads/main",
130
157
  job_workflow_ref: "octo-org/octo-repo/.github/workflows/ci.yml@refs/heads/main",
131
158
  ref: "refs/heads/main",
159
+ ref_protected: "true",
160
+ ref_type: "branch",
161
+ base_ref: "",
162
+ head_ref: "",
132
163
  sha: "0123456789abcdef0123456789abcdef01234567",
133
164
  event_name: "push",
134
165
  actor: "octocat",
@@ -1,7 +1,7 @@
1
+ import { Context, Effect, Layer, Schema } from "effect";
1
2
  import { GitHubClient } from "./GitHubClient.js";
2
3
  import { unstubbed } from "./internal/unstubbed.js";
3
4
  import { Repo } from "./Repo.js";
4
- import { Context, Effect, Layer, Schema } from "effect";
5
5
 
6
6
  // src/ArtifactMetadata.ts
7
7
  /**
package/Attestation.js CHANGED
@@ -1,7 +1,7 @@
1
+ import { Context, Effect, Layer, Schema } from "effect";
1
2
  import { GitHubClient } from "./GitHubClient.js";
2
3
  import { unstubbed } from "./internal/unstubbed.js";
3
4
  import { Repo } from "./Repo.js";
4
- import { Context, Effect, Layer, Schema } from "effect";
5
5
 
6
6
  // src/Attestation.ts
7
7
  /**
@@ -1,8 +1,8 @@
1
+ import { Context, Effect, Layer, Schema, Stream } from "effect";
1
2
  import { GitHubClient } from "./GitHubClient.js";
2
3
  import { GitHubError } from "./GitHubError.js";
3
4
  import { numericId } from "./internal/ids.js";
4
5
  import { unstubbed } from "./internal/unstubbed.js";
5
- import { Context, Effect, Layer, Schema, Stream } from "effect";
6
6
 
7
7
  // src/AuthenticatedApp.ts
8
8
  /**
package/ChangelogInfo.js CHANGED
@@ -1,8 +1,8 @@
1
+ import { Context, Effect, Exit, Layer, Option, Request, RequestResolver, Schema } from "effect";
1
2
  import { GitHubClient } from "./GitHubClient.js";
2
3
  import { GitHubGraphQLError, GraphQLDocument } from "./GraphQL.js";
3
4
  import { unstubbed } from "./internal/unstubbed.js";
4
5
  import { Repo } from "./Repo.js";
5
- import { Context, Effect, Exit, Layer, Option, Request, RequestResolver, Schema } from "effect";
6
6
 
7
7
  // src/ChangelogInfo.ts
8
8
  /**
package/CheckRun.js CHANGED
@@ -1,9 +1,9 @@
1
+ import { Cause, Context, DateTime, Duration, Effect, Exit, Layer, Option, Ref, Schedule, Schema } from "effect";
1
2
  import { GitHubClient } from "./GitHubClient.js";
2
3
  import { GitHubError } from "./GitHubError.js";
3
4
  import { numericId } from "./internal/ids.js";
4
5
  import { unstubbed } from "./internal/unstubbed.js";
5
6
  import { Repo } from "./Repo.js";
6
- import { Cause, Context, DateTime, Duration, Effect, Exit, Layer, Option, Ref, Schedule, Schema } from "effect";
7
7
 
8
8
  // src/CheckRun.ts
9
9
  /** How a check run finished. @public */
package/CodeScanning.js CHANGED
@@ -1,7 +1,7 @@
1
+ import { Context, Effect, Layer } from "effect";
1
2
  import { GitHubClient } from "./GitHubClient.js";
2
3
  import { unstubbed } from "./internal/unstubbed.js";
3
4
  import { Repo } from "./Repo.js";
4
- import { Context, Effect, Layer } from "effect";
5
5
 
6
6
  // src/CodeScanning.ts
7
7
  /**
@@ -1,8 +1,8 @@
1
+ import { Context, Effect, Layer } from "effect";
1
2
  import { GitHubClient } from "./GitHubClient.js";
2
3
  import { ENVIRONMENT_PUT_ROUTE_PARAMS, reservedBodyKey } from "./internal/requestOptions.js";
3
4
  import { unstubbed } from "./internal/unstubbed.js";
4
5
  import { Repo } from "./Repo.js";
5
- import { Context, Effect, Layer } from "effect";
6
6
 
7
7
  // src/DeploymentEnvironment.ts
8
8
  /**
package/GitBranch.js CHANGED
@@ -1,9 +1,9 @@
1
+ import { Context, Effect, Layer, Option, Schema } from "effect";
1
2
  import { GitHubClient } from "./GitHubClient.js";
2
3
  import { GitHubError } from "./GitHubError.js";
3
4
  import { GraphQLDocument } from "./GraphQL.js";
4
5
  import { unstubbed } from "./internal/unstubbed.js";
5
6
  import { Repo } from "./Repo.js";
6
- import { Context, Effect, Layer, Option, Schema } from "effect";
7
7
 
8
8
  // src/GitBranch.ts
9
9
  const CreateLinkedBranch = GraphQLDocument.make({
package/GitCommit.js CHANGED
@@ -1,8 +1,8 @@
1
+ import { Context, Effect, Layer, Schema } from "effect";
1
2
  import { GitHubClient } from "./GitHubClient.js";
2
3
  import { GitHubError } from "./GitHubError.js";
3
4
  import { unstubbed } from "./internal/unstubbed.js";
4
5
  import { Repo } from "./Repo.js";
5
- import { Context, Effect, Layer, Schema } from "effect";
6
6
 
7
7
  // src/GitCommit.ts
8
8
  /**
package/GitHubApp.js CHANGED
@@ -1,3 +1,6 @@
1
+ import { Jwt, JwtKey } from "@effected/jwt";
2
+ import { Cause, Clock, Context, DateTime, Deferred, Duration, Effect, Layer, Option, Redacted, Ref, Schema, Semaphore, Stream } from "effect";
3
+ import { Signature } from "effect/crypto";
1
4
  import { GitHubClient, makeClientShape, resolveApiVersion } from "./GitHubClient.js";
2
5
  import { GitHubError } from "./GitHubError.js";
3
6
  import { GitHubGraphQLError } from "./GraphQL.js";
@@ -5,9 +8,6 @@ import { InstallationTokenStore } from "./InstallationTokenStore.js";
5
8
  import { numericId } from "./internal/ids.js";
6
9
  import { unstubbed } from "./internal/unstubbed.js";
7
10
  import { uploadChannelOf, withUploadChannel } from "./internal/uploads.js";
8
- import { Cause, Clock, Context, DateTime, Deferred, Duration, Effect, Layer, Option, Redacted, Ref, Schema, Semaphore, Stream } from "effect";
9
- import { Jwt, JwtKey } from "@effected/jwt";
10
- import { Signature } from "effect/crypto";
11
11
 
12
12
  // src/GitHubApp.ts
13
13
  /**
package/GitHubClient.js CHANGED
@@ -1,3 +1,4 @@
1
+ import { Clock, Config, Context, Effect, Layer, Option, Schema, Stream } from "effect";
1
2
  import { GitHubError } from "./GitHubError.js";
2
3
  import { GitHubGraphQLError } from "./GraphQL.js";
3
4
  import { API_VERSION_PATTERN, DEFAULT_API_VERSION } from "./internal/apiVersion.js";
@@ -7,7 +8,6 @@ import { fromArray, paginate } from "./internal/paginate.js";
7
8
  import { unstubbed } from "./internal/unstubbed.js";
8
9
  import { DOTCOM_API_BASE_URL, originOf, uploadsBaseUrlFor, withUploadChannel } from "./internal/uploads.js";
9
10
  import { RetryPolicy } from "./Resilience.js";
10
- import { Clock, Config, Context, Effect, Layer, Option, Schema, Stream } from "effect";
11
11
 
12
12
  // src/GitHubClient.ts
13
13
  /** GitHub's own maximum page size, and the default this package requests. */
package/GitHubCommit.js CHANGED
@@ -1,8 +1,8 @@
1
+ import { Context, Effect, Layer, Option, Schema, Stream } from "effect";
1
2
  import { GitHubClient } from "./GitHubClient.js";
2
3
  import { paginate } from "./internal/paginate.js";
3
4
  import { unstubbed } from "./internal/unstubbed.js";
4
5
  import { Repo } from "./Repo.js";
5
- import { Context, Effect, Layer, Option, Schema, Stream } from "effect";
6
6
 
7
7
  // src/GitHubCommit.ts
8
8
  /**
package/GitHubContent.js CHANGED
@@ -1,9 +1,9 @@
1
+ import { Context, Effect, Layer, Option, Result } from "effect";
2
+ import * as Base64 from "effect/encoding/Base64";
1
3
  import { GitHubClient } from "./GitHubClient.js";
2
4
  import { GitHubError } from "./GitHubError.js";
3
5
  import { unstubbed } from "./internal/unstubbed.js";
4
6
  import { Repo } from "./Repo.js";
5
- import { Context, Effect, Layer, Option, Result } from "effect";
6
- import * as Base64 from "effect/encoding/Base64";
7
7
 
8
8
  // src/GitHubContent.ts
9
9
  /**
package/GitHubError.js CHANGED
@@ -1,6 +1,6 @@
1
+ import { Schema } from "effect";
1
2
  import { headerNumber, retryAfterMillisFrom } from "./internal/headers.js";
2
3
  import { scrubThrowable } from "./internal/scrub.js";
3
- import { Schema } from "effect";
4
4
 
5
5
  // src/GitHubError.ts
6
6
  /**
package/GitHubIssue.js CHANGED
@@ -1,10 +1,10 @@
1
+ import { Context, Effect, Layer, Schema } from "effect";
1
2
  import { GitHubClient } from "./GitHubClient.js";
2
3
  import { GraphQLDocument } from "./GraphQL.js";
3
4
  import { numericId } from "./internal/ids.js";
4
5
  import { unstubbed } from "./internal/unstubbed.js";
5
6
  import { CommentRecord } from "./PullRequestComment.js";
6
7
  import { Repo } from "./Repo.js";
7
- import { Context, Effect, Layer, Schema } from "effect";
8
8
 
9
9
  // src/GitHubIssue.ts
10
10
  /**
package/GitHubRelease.js CHANGED
@@ -1,9 +1,9 @@
1
+ import { Context, Effect, Layer, Option, Schema } from "effect";
1
2
  import { GitHubClient } from "./GitHubClient.js";
2
3
  import { GitHubError } from "./GitHubError.js";
3
4
  import { unstubbed } from "./internal/unstubbed.js";
4
5
  import { originOf, uploadChannelOf, uploadsBaseUrlFor } from "./internal/uploads.js";
5
6
  import { Repo } from "./Repo.js";
6
- import { Context, Effect, Layer, Option, Schema } from "effect";
7
7
 
8
8
  // src/GitHubRelease.ts
9
9
  /**
@@ -1,10 +1,10 @@
1
+ import { Context, Effect, Layer, Schema } from "effect";
1
2
  import { GitHubClient } from "./GitHubClient.js";
2
3
  import { GraphQLDocument } from "./GraphQL.js";
3
4
  import { REMOVED_BY_PINNED_VERSION, REPOSITORY_REST_SETTING_KEYS } from "./internal/repositoryRestSettingKeys.js";
4
5
  import { reservedSettingKey } from "./internal/requestOptions.js";
5
6
  import { unstubbed, unstubbedRead } from "./internal/unstubbed.js";
6
7
  import { Repo } from "./Repo.js";
7
- import { Context, Effect, Layer, Schema } from "effect";
8
8
 
9
9
  // src/GitHubRepository.ts
10
10
  /**
package/GitHubUserAuth.js CHANGED
@@ -1,8 +1,8 @@
1
- import { API_VERSION_PATTERN, DEFAULT_API_VERSION } from "./internal/apiVersion.js";
2
- import { unstubbed } from "./internal/unstubbed.js";
3
- import { Clock, Context, DateTime, Duration, Effect, Layer, Option, Redacted, Schema } from "effect";
4
1
  import { HttpRedaction } from "@effected/crypto";
2
+ import { Clock, Context, DateTime, Duration, Effect, Layer, Option, Redacted, Schema } from "effect";
5
3
  import { Base64 } from "effect/encoding";
4
+ import { API_VERSION_PATTERN, DEFAULT_API_VERSION } from "./internal/apiVersion.js";
5
+ import { unstubbed } from "./internal/unstubbed.js";
6
6
 
7
7
  // src/GitHubUserAuth.ts
8
8
  /**
package/GitTag.js CHANGED
@@ -1,9 +1,9 @@
1
+ import { SemVer } from "@effected/semver";
2
+ import { Context, Effect, Layer, Option, Result, Schema, Stream } from "effect";
1
3
  import { GitHubClient } from "./GitHubClient.js";
2
4
  import { GitHubError } from "./GitHubError.js";
3
5
  import { unstubbed } from "./internal/unstubbed.js";
4
6
  import { Repo } from "./Repo.js";
5
- import { Context, Effect, Layer, Option, Result, Schema, Stream } from "effect";
6
- import { SemVer } from "@effected/semver";
7
7
 
8
8
  // src/GitTag.ts
9
9
  /** How many annotated-tag dereferences to follow before giving up. */
package/GraphQL.js CHANGED
@@ -1,6 +1,6 @@
1
+ import { Schema } from "effect";
1
2
  import { retryAfterMillisFrom } from "./internal/headers.js";
2
3
  import { scrubThrowable } from "./internal/scrub.js";
3
- import { Schema } from "effect";
4
4
 
5
5
  // src/GraphQL.ts
6
6
  /**
@@ -1,5 +1,5 @@
1
- import { unstubbed } from "./internal/unstubbed.js";
2
1
  import { Clock, Context, Duration, Effect, Layer, Option, Ref } from "effect";
2
+ import { unstubbed } from "./internal/unstubbed.js";
3
3
 
4
4
  // src/InstallationTokenStore.ts
5
5
  /**
package/PullRequest.js CHANGED
@@ -1,3 +1,4 @@
1
+ import { Context, DateTime, Effect, Layer, Option, Schema } from "effect";
1
2
  import { GitHubClient } from "./GitHubClient.js";
2
3
  import { fileOf } from "./GitHubCommit.js";
3
4
  import { GitHubError } from "./GitHubError.js";
@@ -5,7 +6,6 @@ import { GitHubGraphQLError, GraphQLDocument } from "./GraphQL.js";
5
6
  import { unstubbed } from "./internal/unstubbed.js";
6
7
  import { Repo } from "./Repo.js";
7
8
  import { PageOptions } from "./Rest.js";
8
- import { Context, DateTime, Effect, Layer, Option, Schema } from "effect";
9
9
 
10
10
  // src/PullRequest.ts
11
11
  /** How a pull request is merged. @public */
@@ -1,8 +1,8 @@
1
+ import { Context, Effect, Layer, Option, Schema } from "effect";
1
2
  import { GitHubClient } from "./GitHubClient.js";
2
3
  import { numericId } from "./internal/ids.js";
3
4
  import { unstubbed } from "./internal/unstubbed.js";
4
5
  import { Repo } from "./Repo.js";
5
- import { Context, Effect, Layer, Option, Schema } from "effect";
6
6
 
7
7
  // src/PullRequestComment.ts
8
8
  /**
@@ -1,9 +1,9 @@
1
+ import { Context, Effect, Layer, Redacted, Result } from "effect";
1
2
  import { GitHubClient } from "./GitHubClient.js";
2
3
  import { GitHubError } from "./GitHubError.js";
3
4
  import { encryptSecret } from "./internal/crypto.js";
4
5
  import { unstubbed } from "./internal/unstubbed.js";
5
6
  import { Repo } from "./Repo.js";
6
- import { Context, Effect, Layer, Redacted, Result } from "effect";
7
7
 
8
8
  // src/RepositorySecret.ts
9
9
  const ROUTES = {
@@ -88,14 +88,15 @@ const dies = unstubbed("RepositorySecret.makeTest");
88
88
  * Seal a value, turning a malformed public key into a typed failure.
89
89
  *
90
90
  * @remarks
91
- * `encryptSecret` returns a `Result` because a base64 decode can fail. A public
91
+ * `encryptSecret` returns a `Result` because the key can fail to decode, be the
92
+ * wrong length, or be a low-order X25519 point. A public
92
93
  * key GitHub cannot have produced is still *input*, and input failures are
93
94
  * typed rather than thrown — so this maps it onto the same `GitHubError` a
94
95
  * caller already handles, naming the route it came from.
95
96
  */
96
97
  const seal = (route, publicKey, value) => Result.match(encryptSecret(publicKey, Redacted.value(value)), {
97
98
  onSuccess: (sealed) => Effect.succeed(sealed),
98
- onFailure: () => Effect.fail(GitHubError.decode(route, "the secrets public key was not valid base64"))
99
+ onFailure: () => Effect.fail(GitHubError.decode(route, "the secrets public key was not a valid base64 X25519 public key (32 bytes, not low-order)"))
99
100
  });
100
101
  const make = (client) => {
101
102
  return {
@@ -1,7 +1,7 @@
1
+ import { Context, Effect, Layer } from "effect";
1
2
  import { GitHubClient } from "./GitHubClient.js";
2
3
  import { unstubbed } from "./internal/unstubbed.js";
3
4
  import { Repo } from "./Repo.js";
4
- import { Context, Effect, Layer } from "effect";
5
5
 
6
6
  // src/RepositorySecurity.ts
7
7
  /**
@@ -1,7 +1,7 @@
1
+ import { Context, Effect, Layer } from "effect";
1
2
  import { GitHubClient } from "./GitHubClient.js";
2
3
  import { unstubbed } from "./internal/unstubbed.js";
3
4
  import { Repo } from "./Repo.js";
4
- import { Context, Effect, Layer } from "effect";
5
5
 
6
6
  // src/RepositoryVariable.ts
7
7
  /**
package/Ruleset.js CHANGED
@@ -1,8 +1,8 @@
1
+ import { Context, Effect, Layer } from "effect";
1
2
  import { GitHubClient } from "./GitHubClient.js";
2
3
  import { GitHubError } from "./GitHubError.js";
3
4
  import { unstubbed } from "./internal/unstubbed.js";
4
5
  import { Repo } from "./Repo.js";
5
- import { Context, Effect, Layer } from "effect";
6
6
 
7
7
  // src/Ruleset.ts
8
8
  /**
@@ -1,10 +1,10 @@
1
+ import { Context, DateTime, Duration, Effect, Layer, Option, Schedule, Schema } from "effect";
1
2
  import { GitHubClient } from "./GitHubClient.js";
2
3
  import { GitHubError } from "./GitHubError.js";
3
4
  import { numericId } from "./internal/ids.js";
4
5
  import { unstubbed, unstubbedRead } from "./internal/unstubbed.js";
5
6
  import { Repo } from "./Repo.js";
6
7
  import { PageOptions } from "./Rest.js";
7
- import { Context, DateTime, Duration, Effect, Layer, Option, Schedule, Schema } from "effect";
8
8
 
9
9
  // src/WorkflowDispatch.ts
10
10
  /**
package/index.d.ts CHANGED
@@ -70,6 +70,20 @@ declare const ActionsOidcClaims_base: Schema.Class<ActionsOidcClaims, Schema.Str
70
70
  readonly jobWorkflowRef: Schema.String;
71
71
  /** The git ref the run is for. */
72
72
  readonly ref: Schema.String;
73
+ /**
74
+ * Whether `ref` is protected (wire key `ref_protected`): a protected
75
+ * branch, or a tag under a ruleset or tag protection. The token carries it
76
+ * as the string `"true"` or `"false"`; anything else fails verification as
77
+ * `claims`. Gate a privileged action, such as writing a build cache other
78
+ * runs restore from, on this rather than on the ref's name.
79
+ */
80
+ readonly refProtected: Schema.decodeTo<Schema.Boolean, Schema.Literals<readonly ["true", "false"]>, never, never>;
81
+ /** The kind of `ref`, `branch` or `tag` (wire key `ref_type`). */
82
+ readonly refType: Schema.Literals<readonly ["branch", "tag"]>;
83
+ /** A pull request's base ref; an empty string outside pull request events (wire key `base_ref`). */
84
+ readonly baseRef: Schema.String;
85
+ /** A pull request's head ref; an empty string outside pull request events (wire key `head_ref`). */
86
+ readonly headRef: Schema.String;
73
87
  /** The commit SHA the run is for. */
74
88
  readonly sha: Schema.String;
75
89
  /** The event that triggered the run, e.g. `push` (wire key `event_name`). */
@@ -132,6 +146,10 @@ export declare const ActionsOidcClaimsFromWire: Schema.encodeKeys<typeof Actions
132
146
  readonly runAttempt: "run_attempt";
133
147
  readonly workflowRef: "workflow_ref";
134
148
  readonly jobWorkflowRef: "job_workflow_ref";
149
+ readonly refProtected: "ref_protected";
150
+ readonly refType: "ref_type";
151
+ readonly baseRef: "base_ref";
152
+ readonly headRef: "head_ref";
135
153
  readonly eventName: "event_name";
136
154
  readonly actorId: "actor_id";
137
155
  readonly runnerEnvironment: "runner_environment";
package/index.js CHANGED
@@ -1,3 +1,4 @@
1
+ import { CLOSING_KEYWORDS, harvestIssueReferences, parseBareLineReference } from "@effected/github-references";
1
2
  import { ActionsOidc, ActionsOidcClaims, ActionsOidcClaimsFromWire } from "./ActionsOidc.js";
2
3
  import { ArtifactMetadata, StorageRecordInput } from "./ArtifactMetadata.js";
3
4
  import { Attestation, AttestationListEntry, AttestationRecord } from "./Attestation.js";
@@ -31,6 +32,5 @@ import { PageOptions } from "./Rest.js";
31
32
  import { Ruleset } from "./Ruleset.js";
32
33
  import { ExtraPermission, PermissionGap, PermissionLevel, PermissionResult, TokenPermissionError, TokenPermissions } from "./TokenPermissions.js";
33
34
  import { DispatchedRun, WorkflowDispatch, WorkflowRunStatus } from "./WorkflowDispatch.js";
34
- import { CLOSING_KEYWORDS, harvestIssueReferences, parseBareLineReference } from "@effected/github-references";
35
35
 
36
36
  export { ActionsOidc, ActionsOidcClaims, ActionsOidcClaimsFromWire, Annotation, AnnotationLevel, AppIdentity, AppInfo, ArtifactMetadata, Attestation, AttestationListEntry, AttestationRecord, AuthenticatedApp, BotIdentity, BotUser, CLOSING_KEYWORDS, ChangelogInfo, CheckConclusion, CheckRun, CheckRunOutput, CheckRunRef, CheckRunStatus, CodeScanning, CommentMarker, CommentOnceResult, CommentRecord, CommitChangelogInfo, CommitComparison, CommitFile, CommitRef, CommitSummary, CreatedCommit, DeliveryAttempt, DeploymentEnvironment, DispatchedRun, ExpiringUserTokens, ExtraPermission, FileChange, FileContent, FileDeletion, FileMode, FileStatus, GRAPHQL_ONLY_SETTINGS, GitBranch, GitCommit, GitHubApp, GitHubAppError, GitHubClient, GitHubCommit, GitHubContent, GitHubError, GitHubErrorKind, GitHubFixtures, GitHubGraphQLError, GitHubIssue, GitHubRelease, GitHubRepository, GitHubUserAuth, GitHubUserAuthFinal, GitHubUserAuthOperation, GitHubUserAuthTemporary, GitHubUserTokens, GitHubValidationCode, GitHubValidationEntry, GitTag, GraphQLDocument, GraphQLErrorEntry, Installation, InstallationToken, InstallationTokenStore, InvalidChangelogRefError, InvalidRepoRefError, IssueInfo, LinkedIssue, MergeMethod, NonExpiringUserTokens, PageOptions, PermissionGap, PermissionLevel, PermissionResult, PullRequest, PullRequestChangelogInfo, PullRequestComment, PullRequestInfo, RateLimitSnapshot, RawFailure, ReleaseAsset, ReleaseInfo, Repo, RepoRef, ReportedCheckConclusion, ReportedCheckRunOutput, RepositorySecret, RepositorySecurity, RepositoryVariable, RetryPolicy, Ruleset, SECURITY_ANALYSIS_STATUS_FIELDS, SemverTag, StorageRecordInput, TagRef, TokenPermissionError, TokenPermissions, WorkflowDispatch, WorkflowRunStatus, harvestIssueReferences, parseBareLineReference, repositoryPatch, transformSecurityAndAnalysis, versionFromTag };