![Screenshot 2024-04-02 at 11 03 46 PM](https://private-user-images.githubusercontent.com/487433/319058943-c3eb1414-f760-48d3-8a69-c99788247966.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkxNzg4MDQsIm5iZiI6MTczOTE3ODUwNCwicGF0aCI6Ii80ODc0MzMvMzE5MDU4OTQzLWMzZWIxNDE0LWY3NjAtNDhkMy04YTY5LWM5OTc4ODI0Nzk2Ni5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjEwJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxMFQwOTA4MjRaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0zOTA1MmYxMTk5ZWNhNzI3ZWQyODc3MWIzMTU2ZmYxYmU1YmE3MTcyMTkxNjExYzIzM2UzN2YzOWJjYjc2ZTgyJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.yV3QVTwD4Y6etF2ff8jDNJ01yAGMxl6dAcCtPT4ChQM)
supersetbot is a utility bot that can be used to help around GitHub, CI and beyond.
The bot can be used as a local CLI OR, for a subset of fitted use cases, can be invoked directly from GitHub comments.
Because it's its own npm app, it can be tested/deployed/used in isolation from the rest of Superset, and take on some of the complexity from GitHub actions and onto a nifty utility that can be used in different contexts.
$ nvm use 20
$ npm i -g supersetbot
$ supersetbot
$ ./src/supersetbot
Usage: supersetbot [options] [command]
Options:
-v, --verbose Output extra debugging information
-r, --repo <repo> The GitHub repo to use (ie:"apache/superset")
-d, --dry-run Run the command in dry-run mode
-a, --actor <actor> The actor
-h, --help display help for command
Commands:
label [options] <label> Add a label to an issue or PR
unlabel [options] <label> Remove a label from an issue or PR
orglabel [options] Add an org label based on the author
release-label-pr [options] <prId> Figure out first release for PR and label it
version Prints supersetbot's version number
release-label-prs [options] Given a set of PRs, auto-release label them
release-label [options] <release> Figure out first release for PR and label it
bump-python [options] Submit PR(s) to bump python dependencies
docker [options] Generates/run docker build commands use in CI
run <command> Run a command from Github Action
help [command] display help for command