diff --git a/.github/supersetbot/src/github.js b/.github/supersetbot/src/github.js index 7705ce5fa8520..b2ccc8442e427 100644 --- a/.github/supersetbot/src/github.js +++ b/.github/supersetbot/src/github.js @@ -440,13 +440,19 @@ class Github { ...this.unPackRepo(), title: commitMessage, head: branchName, - labels: ['supersetbot'], base: 'master', body: `Updates the python "${lib}" library version from ${before} to ${after}. \n\nGenerated by @supersetbot 🦾`, }); console.log(`Pull request created: ${resp.data.html_url}`); return resp.data.html_url; + // Labeling the PR + await this.octokit.issues.addLabels({ + ...this.unPackRepo(), + issue_number: prNumber, + labels: ['supersetbot'], + }); + // This is stupid, but it's one of the only way to trigger the CI checks console.log('Close/reopen the PR to trigger the CI checks.'); const prNumber = createResp.data.number;