How to use the `gem install danger-auto_label`
trietbui85 opened this issue ยท 5 comments
I know it's possible if use the original Danger (Ruby) version, then call gem install danger-auto_label
to install auto_label
plugin.
But, if use the Danger-Kotlin docker image (ghcr.io/danger/danger-kotlin:1.0.0
), how to install such plugin? Or I must use the Danger Ruby instead?
Hi @f-meloni Can you help? ๐
Hi @anticafe, Danger-Kotlin is not compatible with Danger Ruby and its plugins, so I don't think it will work, however Danger has the possibility to execute command line commands, so if you want to add a label to something on GitHub you can probably use Danger Kotlin to execute the GitHub CLI.
Thanks @f-meloni . Do you have any link or keyword so that I can learn how to execute Github CLI via Danger Kotlin?
Hey! Sorry for the delay, I've missed this, you can use https://github.com/danger/kotlin/blob/master/danger-kotlin-library/src/main/kotlin/systems/danger/kotlin/models/danger/Utils.kt#L24 to exec any shell command
Closing as seems solved! ๐