#clean #dependabot #pr #github #user-name #token #github-token

app clean-dependa

Clean your dependabot PRs in fastest way

2 unstable releases

0.2.0 Jun 3, 2021
0.1.0 Oct 18, 2020

#22 in #pr

MIT/Apache

12KB
151 lines

clean-dependa 🧹

Clean-Dependa is a hobby project to learn rust and create something that is bothering me from such a long time 😓. It looks for all the user-repositories and clears up the dependabot PRs of high severity.

Behind the scenes it is using the awesome 🤘Github API to perform these tasks.

Building

Clone the repository and in the root directory execute the following command.

make

You can find the binary at path target/release/clean-dependa. Move it to a location which is visible in your $PATH.

Usage

You can use the build binary in release folder inside target directory. You need to pass your Github Username as the command line argument and set the environment variable GITHUB_TOKEN to the github token value.

export GITHUB_TOKEN="<your_github_token>"
clean-dependa yashladha

You can also copy the binary in your $PATH so that it can be accessible from all the paths.

Enhancements Pending

  • To create PRs of all levels from Github and not just critical severity.
  • Management of different orgs and not just the user.

Dependencies

~10–15MB
~269K SLoC