We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
@octokit/core
1 parent 8cf6662 commit f5adbacCopy full SHA for f5adbac
src/index.ts
@@ -1,6 +1,9 @@
1
import { Octokit as Core } from "@octokit/core";
2
import { createActionAuth } from "@octokit/auth-action";
3
4
+import { VERSION } from "./version";
5
+
6
export const Octokit = Core.defaults({
- auth: createActionAuth()
7
+ auth: createActionAuth(),
8
+ userAgent: `octokit-action.js/${VERSION}`
9
});
src/version.ts
@@ -0,0 +1 @@
+export const VERSION = "0.0.0-development";
0 commit comments