From 1e38d5a281d0438be3a45134fff632cbce410313 Mon Sep 17 00:00:00 2001
From: Samuel Danieli <23150094+scdanieli@users.noreply.github.com>
Date: Mon, 16 Aug 2021 18:55:09 +0200
Subject: [PATCH 1/2] fix: broken link
---
frappe/automation/doctype/auto_repeat/auto_repeat.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/frappe/automation/doctype/auto_repeat/auto_repeat.js b/frappe/automation/doctype/auto_repeat/auto_repeat.js
index 896a10dfe0..80f2255f47 100644
--- a/frappe/automation/doctype/auto_repeat/auto_repeat.js
+++ b/frappe/automation/doctype/auto_repeat/auto_repeat.js
@@ -30,7 +30,7 @@ frappe.ui.form.on('Auto Repeat', {
refresh: function(frm) {
// auto repeat message
if (frm.is_new()) {
- let customize_form_link = `${__('Customize Form')}`;
+ let customize_form_link = `${__('Customize Form')}`;
frm.dashboard.set_headline(__('To configure Auto Repeat, enable "Allow Auto Repeat" from {0}.', [customize_form_link]));
}
From 87f05c2e6bae9b8cef7ccf4e7bd38f086bd4057e Mon Sep 17 00:00:00 2001
From: Gavin D'souza
Date: Tue, 17 Aug 2021 09:57:32 +0530
Subject: [PATCH 2/2] ci: Handle payload elements as not set/None
alt motive: Re-trigger GHAs that have been showing waiting for too
long ;)
---
.github/helper/documentation.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/.github/helper/documentation.py b/.github/helper/documentation.py
index 08d1d1aa9c..f8ee3fa10b 100644
--- a/.github/helper/documentation.py
+++ b/.github/helper/documentation.py
@@ -32,9 +32,9 @@ if __name__ == "__main__":
if response.ok:
payload = response.json()
- title = payload.get("title", "").lower()
- head_sha = payload.get("head", {}).get("sha")
- body = payload.get("body", "").lower()
+ title = (payload.get("title") or "").lower()
+ head_sha = (payload.get("head") or {}).get("sha")
+ body = (payload.get("body") or "").lower()
if title.startswith("feat") and head_sha and "no-docs" not in body:
if docs_link_exists(body):