docs: anchor VT badge to #virustotal-scans section#17
Merged
Conversation
release.yml appends per-release VT scan URLs under a '## VirusTotal scans' header in the release notes. GitHub auto-creates the anchor '#virustotal-scans' for that header. Adding the fragment to the badge URL makes clicking the badge land directly on the scan list, not at the top of the release page. Browsers preserve URL fragments across the /releases/latest -> tag redirect, so the anchor works even though 'latest' is a 302.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
One-character behavior change: appends
#virustotal-scansto the VT badge link. Click now scrolls directly to the scan URLs at the bottom of the release notes instead of landing at the top of the page.The anchor is auto-created by GitHub from the
## VirusTotal scansheader that release.yml appends to the body. Browsers preserve URL fragments through the/releases/latest→ tag redirect, so the anchor works even thoughlatestis a 302.Caveat
Anchor only resolves if the most recent release actually has VT URLs in its notes. v0.1.35 was cut while
ENABLE_VIRUSTOTALwasfalse— its release notes don't have the section. Until the next release runs with VT enabled, clicking the badge lands at the top of the release page (no worse than today). The next release that exercises the VT step will have the section, and the anchor will work.Path-filter check
README.md isn't in
release.yml's path filter — won't trigger a release.