This is a tool to automate repetitive tasks on repositories of an organization.
When you supply a plan, the process is the following:
``` there-i-fixed-it 0.1.0
USAGE:
there-i-fixed-it [FLAGS] --plan-file
FLAGS: -h, --help Prints help information -s, --skip-repository-cache -V, --version Prints version information
OPTIONS:
-f, --plan-file
Example of a plan:
```toml branchname = "automated/update-flag" gitmessage = "chore: Update flag that should be false" pullrequesttitle = "Update flag that should be false" # Optional, if missing gitmessage is used pullrequestbody = "This updates the flag that should be false @jaysonsantos." repositories = ["my-repo"] # Also works with globs like python-*, *-rs, or * denyrepositories = [ ] # Optional, if present it runs after the above filter to remove denied repositories
[provider] name = "github" # Only github is implemented but others should be easy to implement user = "user-name" token = "token" organization = "my-organization"
[[files]] glob = "terraform/*/.tf" processors = [ { type = "regex", operations = [ { from = "(delete_everything\W+=\W+)true", to = "${1}false" }, ] } ]
[[files]] glob = "**.py" processors = [ { type = "regex", operations = [ { from = "(def\W+)wrongfunctionname", to = "${1}rightfunctionname" } ] } ] ```
No warranties!