-
Notifications
You must be signed in to change notification settings - Fork 24
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
Automatically detect when schemastore needs to be updated #65
Comments
Does Renovate support only raising a PR if certain files within the submodule change? I can't see anything obvious in its docs to cover that. Because schemastore has a lot of stuff updating all the time that we don't care about, and if it's going to raise a PR every time anything changes in that repo, it'll essentially have an (irrelevant) PR open all the time. |
Well yes, but as long as you don't merge it, Renovate will just keep it open and up to date (so you can merge whenever, or based on rules/automation). |
I do see what you mean. For example by running something like this (pseudocode) on PRs opened by Renovate:
|
If we're going to have a daily "check if anything's changed" job, renovate seems rather overkill. It'd be a lot easier to just have a daily action that did something like: git clone <etc etc>
git submodule update
cd src/schemastore
git fetch origin
git diff --stat HEAD..origin/main | egrep src/schemas/json/github-(workflow|action).json ... then opened a PR or did something else (maybe the job can just fail?, that'd be enough) to signal that the schemastore repo needs at least looking at for changes that might be worth pulling in. |
Sounds like a decent idea. |
I also noted that Dependabot does support rust, but it's an opt-in, with something along:
|
That's a handy thing to know. One thing that bugs me about dependabot is that it spams you with "upgrade this naow!!!11!one!" PRs for things that have zero benefit in upgrading -- enabling it is essentially asking for the gift of infinite work. I've got daily (I'm going to change the title on this issue, to better reflect the underlying desire to detect relevant changes in the schemas) |
While Dependabot supports actions (and Rust?), it doesn't support bumping things like:
To avoid manual toil of PRs like:
schemastore
(toacb7898
) #64The text was updated successfully, but these errors were encountered: