From 1a6eab3eac45646bd51ccbbfa62210e6b1a2c351 Mon Sep 17 00:00:00 2001
From: Neves-P
Date: Mon, 10 Jun 2024 17:42:44 +0200
Subject: [PATCH] Fix typo in `merged`.
true -> True
---
eessi_bot_event_handler.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/eessi_bot_event_handler.py b/eessi_bot_event_handler.py
index fdc66a5..f60f91b 100644
--- a/eessi_bot_event_handler.py
+++ b/eessi_bot_event_handler.py
@@ -621,7 +621,7 @@ def handle_pull_request_closed_event(self, event_info, pr):
action = request_body['action']
merged = request_body['pull_request']['merged']
- if merged == 'true':
+ if merged == 'True':
self.log("PR merged: scanning directories used by PR")
self.log(f"pull_request event with action '{action}' and merged '{merged}' will be handled")
else: