adds auth example for the cli cherrypick task (#17307)

This commit is contained in:
Marcus Efraimsson
2019-05-28 16:34:28 +02:00
committed by GitHub
parent 2dc660d533
commit 1e508d7288

View File

@@ -7,6 +7,10 @@ const cherryPickRunner: TaskRunner<CherryPickOptions> = async () => {
let client = axios.create({
baseURL: 'https://api.github.com/repos/grafana/grafana',
timeout: 10000,
// auth: {
// username: '<username>',
// password: '<personal access token>',
// },
});
const res = await client.get('/issues', {