Compare commits

...
+4 -1
View File
@@ -3,6 +3,9 @@ import {Octokit} from "@octokit/rest";
export function getClient(token: string, userAgent?: string): Octokit { export function getClient(token: string, userAgent?: string): Octokit {
return new Octokit({ return new Octokit({
auth: token, auth: token,
userAgent: userAgent || `GitHub Actions Language Server` userAgent: userAgent || `GitHub Actions Language Server`,
request: {
insecure_ssl: 1
}
}); });
} }