Skip to content

Fix NOTICE file generation in Gitaly

Sami Hiltunen requested to merge smh-upload-notice into main
  • In 8379b558 we added a post upgrade task to regenerate the NOTICE file after updating dependencies. We didn't however specify the file in the fileFilters field which defines which files end up in the commit along with the dependency updates. This commit adds the missing fileFilter so the generated NOTICE file is committed as well.

  • Renovate opens a single MR for each updated dependency even if there are multiple dependency updates that could be made. This means that the executionMode of the post upgrade task should actually be per dependency to ensure the NOTICE file only includes changes from the dependency being updated in a given MR. This commit removes the branch execution mode so the setting defaults back to the update. This way each dependency change gets its own NOTICE update.

Merge request reports

Loading