From f496f02f6c606002129713ca48babd458ab33ae0 Mon Sep 17 00:00:00 2001 From: per1234 Date: Fri, 1 Oct 2021 13:39:04 -0700 Subject: [PATCH 1/2] Make "dependencies" an alias for "topic: infrastructure" label By default, dependabot adds the "dependencies" repository label to its pull requests, but . The labeling behavior can be customized in the `dependabot.yml` configuration file, but this configuration file is for general outdated dependency updates, whereas many projects use dependabot only for security updates, which are handled by the repository settings rather than the configuration file. It does not appear that there is any way to adjust the label name via the repository settings. --- workflow-templates/assets/sync-labels/universal.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/workflow-templates/assets/sync-labels/universal.yml b/workflow-templates/assets/sync-labels/universal.yml index be101adb..2797e311 100644 --- a/workflow-templates/assets/sync-labels/universal.yml +++ b/workflow-templates/assets/sync-labels/universal.yml @@ -78,6 +78,8 @@ - name: "topic: infrastructure" color: "00ffff" description: Related to repository infrastructure + aliases: + - dependencies - name: "topic: code" color: "00ffff" description: Related to content of the project itself From c3602d506962fcbe851f64fbc2afe562b623c73c Mon Sep 17 00:00:00 2001 From: per1234 Date: Fri, 1 Oct 2021 13:45:19 -0700 Subject: [PATCH 2/2] Improve wording of "topic: infrastructure" label description The previous description of the "topic: infrastructure" repository label was: > Related to repository infrastructure This might give the impression that it is intended to be only for Git-related things (e.g., `.gitignore`), but actually this is for anything related to the infrastructure of the project (e.g., build system, dependencies) which includes, but is not limited to, Git-related things. A more general description will more effectively communicate the intended meaning of the label. --- workflow-templates/assets/sync-labels/universal.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/workflow-templates/assets/sync-labels/universal.yml b/workflow-templates/assets/sync-labels/universal.yml index 2797e311..d729550a 100644 --- a/workflow-templates/assets/sync-labels/universal.yml +++ b/workflow-templates/assets/sync-labels/universal.yml @@ -77,7 +77,7 @@ description: Assistance from the community is especially welcome - name: "topic: infrastructure" color: "00ffff" - description: Related to repository infrastructure + description: Related to project infrastructure aliases: - dependencies - name: "topic: code"