mmkal / runovate

An experimental GitHub Action to manage a renovate branch, for rolling up updates easily and safely
0 stars 1 forks source link

Bug: config coercion shows up as dirty even if it shouldn't #7

Open jamesbraza opened 1 month ago

jamesbraza commented 1 month ago

I use https://github.com/prettier/prettier, which converts single quotes to double quotes in JSON. This leads to an issue where:

  1. Begin with double quotes in renovate.json5
  2. The Update Renovate config step prints Config at .github/renovate.json5 is already up to date.
  3. The return doesn't work, leading to writing to the config file with a commit message chore: update renovate config
  4. A PR eventually is opened that looks like this:
screenshot of incorrect PR

This is incorrect behavior, we should fix this