This commit is contained in:
João Moreno
2020-06-03 14:23:24 +02:00
parent 53135aec68
commit 38cf89bcb3

View File

@@ -24,7 +24,7 @@ function getAgent(url: string | undefined = process.env.HTTPS_PROXY): Agent {
}
}
const scopes = ['repo'];
const scopes = ['repo', 'workflow'];
export async function getSession(): Promise<AuthenticationSession> {
const authenticationSessions = await authentication.getSessions('github', scopes);