From af6e5a646edead461d8b53c5cb5199e10031d61d Mon Sep 17 00:00:00 2001
From: Mats Kindahl <mats@timescale.com>
Date: Thu, 12 Dec 2024 08:17:54 +0100
Subject: [PATCH] Use HTML URL for security issues

The previous code used the event URI, which linked to the actual web
event for the issue.
---
 .github/workflows/issue-handling.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/issue-handling.yaml b/.github/workflows/issue-handling.yaml
index c045d2263a0..da90fcfb2c3 100644
--- a/.github/workflows/issue-handling.yaml
+++ b/.github/workflows/issue-handling.yaml
@@ -52,7 +52,7 @@ jobs:
                   "type": "section",
                   "text": {
                     "type": "mrkdwn",
-                    "text": "Issue <${{github.event.issue.url}}|#${{github.event.issue.number}} ${{github.event.issue.title}}> needs attention"
+                    "text": "Issue <${{github.event.issue.html_url}}|#${{github.event.issue.number}} ${{github.event.issue.title}}> needs attention"
                   }
                 }
               ]