https://kotlinlang.org logo
#scripting
Title
# scripting
p

Piotr Krzemiński

02/16/2022, 12:31 PM
is there a GitHub action that handles updating dependencies in .main.kts files, and prepares PRs? like Dependabot, only for Kotlin scripts. I'd like such changes to be made partially automatically: https://github.com/krzema12/github-actions-kotlin-dsl/pull/90/files
if nothing like this exists, I may want to give it a shot one day 😄
it would require having a workflow that would validate the file - compile it, but not run it yet because executing the logic could do some harm. do you know if it's possible with Kotlin scripts?
j

Javier

02/16/2022, 1:10 PM
I haven't tried renovate with this use case but maybe you can create a PR for them if it is not supported at this moment
p

Piotr Krzemiński

02/16/2022, 1:43 PM
true, good point
j

jmfayard

02/16/2022, 2:42 PM
refreshVersions could be extended to do that
I already have a yaml file that creates a PR like dependabot
👍 1