danger/kotlin

Custom args in yml file

BulatInDrive opened this issue · 0 comments

Is it possible to pass custom args to a danger script file?

with:
  args: -myarg ${{ someValue }}

So that in the script I can get it like

danger(args) {
    val myValue = customArgs["myarg"]
}