scala-steward icon indicating copy to clipboard operation
scala-steward copied to clipboard

no effect with .github/.scala-steward.conf override if PRs has been already created before

Open aleboulanger opened this issue 1 year ago • 2 comments

I created a file in .github/.scala-steward.conf for a repository on which I launched the scala steward action. I put some override like below, but the PR already created didn't follow this new setup (no labels and the default commit message format)

commits.message = "chore(deps): Update ${artifactName} from ${currentVersion} to ${nextVersion}"

pullRequests.customLabels = [ "dependencies", "scala" ]

aleboulanger avatar Dec 05 '23 09:12 aleboulanger

I tried to close PRs and relaunch a scala steward but the bot didn't create again the PRs.

aleboulanger avatar Dec 05 '23 09:12 aleboulanger

You could try adding updatePullRequests = "always" to .github/.scala-steward.conf and run Scala Steward again. Maybe it will update the old PR with your new configuration.

fthomas avatar Dec 06 '23 20:12 fthomas