Browse Source

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

Marcus Efraimsson 6 years ago
parent
commit
1e508d7288
1 changed files with 4 additions and 0 deletions
  1. 4 0
      scripts/cli/tasks/cherrypick.ts

+ 4 - 0
scripts/cli/tasks/cherrypick.ts

@@ -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', {