How do I get the url of the Pull request decoration triggered by GitHub Action?
To reproduce:
- I am running a C# .NET test report as one of the step.
- It generates a test report called “Unit Tests”.
- When I click on “Unit Tests” on the left I see “GitHub Actions / Unit Tests” report on the right.
- I click on “_fv-…trx” report link and the left changes, exposing “SonarCloud / SonarCloud Code Analysis” menu item.
- When I click on it it shows “SonarCloud / SonarCloud Code Analysis” Pull request decoration report on the right (described here).
- The URL changes to https://github.com/[owner]/[repo]/runs/[11 digits].
I’d like to capture the Pull request decoration url in my GitHub Action and output it to Reports.md.
I need some help since after several days of research I reached a dead end.