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

pull/17331/head
Marcus Efraimsson 6 years ago committed by GitHub
parent 2dc660d533
commit 1e508d7288
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      scripts/cli/tasks/cherrypick.ts

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

Loading…
Cancel
Save