feat: create automation for schema updates#111
feat: create automation for schema updates#111wwsean08 wants to merge 1 commit intoshurcooL:mainfrom
Conversation
145e7b3 to
3b38c69
Compare
|
Thanks for suggesting and implementing this, and sorry I didn't get a chance to comment sooner. I've had the idea of doing something like this for some time and I've seen it successfully used in https://github.com/FiloSottile/intermediates for example. However, at this time I'm not sure if there's a way to benefit from it in this project. The difficulty in going to full automation here is that even though the "regenerate for schema changes" changes are predominantly no more than the output of Given I want to look over the change after the trivial |
This CI job automatically opens a PR when a change happens to the graphql schema to hopefully create a quicker turn around time for updates. I've set it to run nightly or manually (by people who have the necessary permissions) via the github UI. I've done some testing in my fork here where I rolled back the
masterbranch a few commits then cherry picked this change just to verify it works as expected. To be tested is the cron scheduling portion however I don't see that being an issue and will be tested within the next 24 hours once it actually hits 2AM UTC.If you want to create an automation label or something I can add that, or make any other tweaks, but I think this would be a nice improvement to the repo.
Test Cases: