Fix issue URL in job log
GetURL returns the API URL of the issue, e.g.:
Issue created: https://api.github.com/repos/user/repo/issues/123456
It would be more useful to put the HTML URL (for human use) in the job log:
Issue created: https://github.com/user/repo/issues/123456
API docs: https://docs.github.com/en/rest/issues/issues?apiVersion=2022-11-28#get-an-issue
{
// ...
"url": "https://api.github.com/repos/octocat/Hello-World/issues/1347",
// ...
"html_url": "https://github.com/octocat/Hello-World/issues/1347",
// ...
}
There's a similar issue with the link to the run created in the Issue body. runURL() is generating an API url instead of one for human use.
Thanks for your contribution!
@trstringer Can you create a new release/tag for this? I cannot pin to the tag version to use the HTML URL fix. The only way is to use the master/commit id directly. so if you create a new tag it will be helpful.