From ed04c277b430f669616a0013ce87fc3cd16ddfc3 Mon Sep 17 00:00:00 2001
From: Renaud Chaput <renchap@gmail.com>
Date: Tue, 6 Jun 2023 18:53:43 +0200
Subject: [PATCH] Configure RenovateBot to add proper language labels (#25316)

Co-authored-by: Claire <claire.github-309c@sitedethib.com>
Co-authored-by: Nick Schonning <nschonni@gmail.com>
---
 .github/renovate.json5 | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/.github/renovate.json5 b/.github/renovate.json5
index 22878636f..1ae40d416 100644
--- a/.github/renovate.json5
+++ b/.github/renovate.json5
@@ -105,5 +105,10 @@
       extends: ['schedule:weekly'],
       addLabels: ['typescript'],
     },
+    // Add labels depending on package manager
+    { matchManagers: ['npm', 'nvm'], addLabels: ['javascript'] },
+    { matchManagers: ['bundler', 'ruby-version'], addLabels: ['ruby'] },
+    { matchManagers: ['docker-compose', 'dockerfile'], addLabels: ['docker'] },
+    { matchManagers: ['github-actions'], addLabels: ['github_actions'] },
   ],
 }