danger / kotlin

⚠️ Stop saying "you forgot to …" in code review
MIT License
490 stars 48 forks source link

Custom args in yml file #253

Open BulatInDrive opened 1 year ago

BulatInDrive commented 1 year ago

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"]
}