From 1711bb1971ca6a9e7706524325d8e2853a191e6e Mon Sep 17 00:00:00 2001 From: Michael Hipp Date: Wed, 1 Sep 2021 11:40:04 -0700 Subject: [PATCH] Update GitHub deploy key log comment to specify public key --- dist/index.js | 2 +- index.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/index.js b/dist/index.js index 6dbf026..1de91a0 100644 --- a/dist/index.js +++ b/dist/index.js @@ -170,7 +170,7 @@ try { const parts = key.match(/\bgithub\.com[:/]([_.a-z0-9-]+\/[_.a-z0-9-]+)/i); if (!parts) { - console.log(`Comment for key '${key}' does not match GitHub URL pattern. Not treating it as a GitHub deploy key.`); + console.log(`Comment for (public) key '${key}' does not match GitHub URL pattern. Not treating it as a GitHub deploy key.`); return; } diff --git a/index.js b/index.js index 1a4835e..1f2ebad 100644 --- a/index.js +++ b/index.js @@ -53,7 +53,7 @@ try { const parts = key.match(/\bgithub\.com[:/]([_.a-z0-9-]+\/[_.a-z0-9-]+)/i); if (!parts) { - console.log(`Comment for key '${key}' does not match GitHub URL pattern. Not treating it as a GitHub deploy key.`); + console.log(`Comment for (public) key '${key}' does not match GitHub URL pattern. Not treating it as a GitHub deploy key.`); return; }