-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
fix(schema): add github to the mode of hash #6534
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
WalkthroughAdds "github" to the Changes
Sequence Diagram(s)(No sequence diagram: change is a schema enum addition and does not affect runtime control flow.) Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes
Poem
Pre-merge checks and finishing touches❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing touches🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
🧹 Nitpick comments (1)
CHANGELOG.md (1)
17-17: Minor grammar clarity improvement.The phrase "to avoid pr validation to fail" could be slightly more natural. Consider: "to prevent PR validation failures" or "to prevent PR validation from failing".
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (2)
CHANGELOG.md(1 hunks)schema.json(1 hunks)
🧰 Additional context used
🧠 Learnings (1)
📚 Learning: 2025-08-31T01:48:00.222Z
Learnt from: z-Fng
PR: ScoopInstaller/Scoop#6471
File: CHANGELOG.md:9-9
Timestamp: 2025-08-31T01:48:00.222Z
Learning: The Scoop project's CHANGELOG.md follows a convention of tracking PR numbers only, not issue numbers, according to the maintainer z-Fng.
Applied to files:
CHANGELOG.md
🔇 Additional comments (1)
schema.json (1)
51-62: LGTM!The addition of "github" to the
modeenum is minimal and correct. This allows manifests using GitHub hash extraction to pass schema validation.
"hash": {
"mode": "github"
}
|
The
This can be easily resolved by removing the
Got it, noticed. It will be fixed in the next update. |
|
And perhaps a code comment ( |
Co-authored-by: z-Fng <[email protected]>
|
Yeah, for now, adding a code comment in the |
|
|
Perhaps we can optimize it later. It's probably not part of the plan at the moment. |
|
cc: @niheaven Can we merge this? |
Description
Motivation and Context
Closes #6533
Checklist:
developbranch.Summary by CodeRabbit