Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 484b6eb423 |
@@ -3,6 +3,9 @@ import {Octokit} from "@octokit/rest";
|
||||
export function getClient(token: string, userAgent?: string): Octokit {
|
||||
return new Octokit({
|
||||
auth: token,
|
||||
userAgent: userAgent || `GitHub Actions Language Server`
|
||||
userAgent: userAgent || `GitHub Actions Language Server`,
|
||||
request: {
|
||||
insecure_ssl: 1
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user