Lombiq/GitHub-Actions

Hidden, but syntactically incorrect links inserted to issue and PR descriptions (OSOE-750)

BenedekFarkas opened this issue · 2 comments

I noticed this under multiple PRs of my own issue and found other cases too: Something that resembles a regular issue link in MD format is inserted into PR descriptions (even if it already has a correct issue link), but it's not a complete link and isn't rendered. Might be down to a breaking change by Atlassian when supplying the link to an issue through the issue API.
We should also get rid of the tracking query string.

Example description source:

[OSOE-743](https://lombiq.atlassian.net/browse/OSOE-743)

[OSOE-743]: https://lombiq.atlassian.net/browse/OSOE-743?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

Example PRs:

Jira issue

I think this is rather some strange bug in the GH editor. The hidden links might at one point be added by our workflows, but at least they're re-added by GH without any workflows running:

2023-12-05_21h16_33.mp4

Or, perhaps they're added by GH for some reason to begin with. Maybe some clash between the explicitly added [OSOE-743](https://lombiq.atlassian.net/browse/OSOE-743) link and autolinks.

I was going to send in a very detailed description of what I tried, but all of that was a red herring, it was Jira all along!
Related issues: