kodiak
kodiak copied to clipboard
labelling after PR is merged
is it possible for the bot to label a PR after the merge?
Currently Kodiak doesn't support adding labels once the PR is merged.
I think we'd to update the config with a new option and make another call to GitHub after the api.merge call succeeds:
https://github.com/chdsbd/kodiak/blob/232f1415bdac166582cbf0c3c6960417ea1f6933/bot/kodiak/evaluation.py#L1047-L1052
I think the config could be something like:
merge.merged_label = "PR merged!"
although that might be too easy to confuse with the automerge_label option
Also you could probably get away with a GitHub action to label the PR when it's merged in the meantime.
@sbdchd Thanks
maybe its better to have the config
merge.post_merged_label = "PR merged!"