From f5fc66f47eeb1eef9f9056e1a39612e9636019a6 Mon Sep 17 00:00:00 2001 From: Steve Repsher Date: Mon, 8 Jan 2024 08:08:21 -0500 Subject: [PATCH] Better restrict applying dependencies label (#19319) --- .github/labeler.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/labeler.yml b/.github/labeler.yml index b09de205ba..bc82f5f31a 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -25,13 +25,18 @@ Design: Dependencies: - changed-files: - - any-glob-to-any-file: + # Match when only these files are changed (i.e. don't match PRs that happen to add or remove packages) + - any-glob-to-all-files: - package.json - renovate.json - yarn.lock - .yarn/** - .yarnrc.yml - .nvmrc + # Dependabot and Renovate branches always match (i.e. compatibility tweaks by members considered minor) + - head-branch: + - "^renovate/" + - "^dependabot/" GitHub Actions: - changed-files: