Add link on badge when using GH Action Summary #492
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Problem
As of now, clicking on the badge on GH Action Summary:
![image](https://private-user-images.githubusercontent.com/1562400/344430431-687da6c0-ad6f-4c05-b546-efcb0d845fd1.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ0MTQ2NTYsIm5iZiI6MTcyNDQxNDM1NiwicGF0aCI6Ii8xNTYyNDAwLzM0NDQzMDQzMS02ODdkYTZjMC1hZDZmLTRjMDUtYjU0Ni1lZmNiMGQ4NDVmZDEucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDgyMyUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA4MjNUMTE1OTE2WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NjQ2YjgxMzMxYmE3Mzg0NjA2N2YyN2M4MWYzZTkxZDEwZTcyNjZiYWM0MWJkYzU1MGEwMmJhYTFjODRlZTNhNCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.8yzISckRRHDy3QJSACqHerPKzLJn6zlugINNGjw6ENk)
goes to nowhere interesting (
https://camo.githubusercontent.com/xxx
).This PR
This (completely unsolicited) PR introduces a new feature: the badge is now in an anchor, and when clicked, this open the collapsed section and goes to the top of the tests report. At least, I can click roughly on a bigger thing than a small collapsed section 🤷♂️
Next
Nothing fancy, I just like it this way 🤷♂️ Hope you like it too! Thanks for this gh action btw.