From 61b7d3d1a4c36834f1cd416f9c4f5b4a3954c76d Mon Sep 17 00:00:00 2001
From: Rhys Arkins <rhys@arkins.net>
Date: Mon, 8 Oct 2018 12:08:51 +0200
Subject: [PATCH] fix(digest): fix PR table for all digest updates

---
 lib/config/definitions.js | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

diff --git a/lib/config/definitions.js b/lib/config/definitions.js
index a6596a789e..42868154a0 100644
--- a/lib/config/definitions.js
+++ b/lib/config/definitions.js
@@ -592,13 +592,16 @@ const options = [
   {
     name: 'digest',
     description:
-      'Configuration to apply when updating a Docker digest (same tag)',
+      'Configuration to apply when updating a digest (no change in tag/version)',
     stage: 'package',
     type: 'json',
     default: {
       branchTopic: '{{{depNameSanitized}}}-digest',
       commitMessageExtra: 'to {{newDigestShort}}',
       commitMessageTopic: '{{{depName}}} commit hash',
+      prBodyDefinitions: {
+        Change: '`{{{currentValue}}}` -> `{{{newDigestShort}}}`',
+      },
     },
     cli: false,
     mergeable: true,
@@ -976,11 +979,6 @@ const options = [
     type: 'json',
     default: {
       fileMatch: ['(^|/)go.mod$'],
-      digest: {
-        prBodyDefinitions: {
-          Change: '`{{{currentValue}}}` -> `{{{newDigestShort}}}`',
-        },
-      },
     },
     mergeable: true,
   },
-- 
GitLab