docs: document SHA-pinned URLs for flint task consumption#20
Merged
zeitlinger merged 1 commit intomainfrom Feb 16, 2026
Merged
Conversation
Update README and Renovate shared preset to use commit SHA pinning (with version comment) instead of tag-based URLs. Signed-off-by: Gregor Zeitlinger <gregor.zeitlinger@grafana.com>
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates the documentation and Renovate configuration to use SHA-pinned URLs instead of tag-based URLs for flint task consumption. The change improves immutability by pinning to commit SHAs while using version comments (e.g., # v0.3.0) to inform Renovate of the current version.
Changes:
- Updated Renovate shared preset regex to match SHA-pinned URLs with version comments instead of tag-in-path URLs
- Updated README usage examples to demonstrate SHA pinning with the
30090d5540807f330a94420ad11b57ba93eaaa84commit (v0.3.0) - Added clear explanation of why SHA pins are preferred over force-pushable tags
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| default.json | Updated Renovate custom manager regex to capture commit SHA and version from comment instead of version tag from URL path |
| README.md | Updated all usage examples to show SHA-pinned URLs, added explanations for the pattern, and included git rev-parse command for finding SHAs |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This was referenced Apr 16, 2026
Closed
Closed
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
# v0.3.0) instead of tag-based URLsdefault.json) to match SHA-pinned URLs withcurrentDigest+currentValueinstead of tag-in-pathTest plan
default.jsonmatches the URL format shown in the README exampleextends: ["github>grafana/flint"]pick up the new custom manager