From 63fcd97b2ecaa34678ef47333a83bebeb288536b Mon Sep 17 00:00:00 2001 From: Alessio Perugini Date: Tue, 30 Apr 2024 09:28:33 +0200 Subject: [PATCH 1/2] Add [skip-changelog] prefix to dependabot commit We use the `[skip-changelog]` prefix to avoid having such commits in our changelog history. When merging dependabot PRs we always manually add the prefix, but it's common to forget about it at costs of manually removing that entry in the changelog when publishing a new release. With this PR dependabot wil add that prefix in every commit, the GH PR will be open with the same commit name, and when pressing the `merge squash` we won't need to manually add the prefix. --- .github/dependabot.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 882c6a4889f..96904291c18 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -11,6 +11,8 @@ updates: interval: daily labels: - "topic: infrastructure" + commit-message: + prefix: "[skip-changelog] " - package-ecosystem: gomod directory: / schedule: @@ -18,3 +20,5 @@ updates: open-pull-requests-limit: 10 labels: - "topic: infrastructure" + commit-message: + prefix: "[skip-changelog] " From 73a923bd4fc73fc1ea224ff0258116ceb50d74b6 Mon Sep 17 00:00:00 2001 From: Alessio Perugini Date: Tue, 14 May 2024 08:09:39 +0200 Subject: [PATCH 2/2] apply CR suggestions --- .github/dependabot.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 96904291c18..adce0d2b6cb 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -12,7 +12,7 @@ updates: labels: - "topic: infrastructure" commit-message: - prefix: "[skip-changelog] " + prefix: "[skip changelog] " - package-ecosystem: gomod directory: / schedule: @@ -21,4 +21,4 @@ updates: labels: - "topic: infrastructure" commit-message: - prefix: "[skip-changelog] " + prefix: "[skip changelog] "