Mic92 / nixpkgs-review

Review pull-requests on https://github.com/NixOS/nixpkgs
MIT License
350 stars 59 forks source link

feat: add `--hook` to run commands when done thinking #366

Closed cafkafk closed 8 months ago

cafkafk commented 8 months ago

This adds a --hook flag to the pr subcommand.

This is useful for e.g. running notify-send "done building", sending mail, or any arbitrary thing you might wanna do when nixpkgs-review is done bulding.

It's been a long time since I wrote any python, and I have no grasp on this codebase, so appologies if I made a mess!

Artturin commented 8 months ago

test fail

cafkafk commented 8 months ago

I'm not sure I understand python enough to fix this for now, might reopen later