Closed trexfeathers closed 9 months ago
@trexfeathers Awesome! Thanks for pushing this forwards, this'll make a huge difference to the peloton 🚀 🥳 🎉
Thanks @bjlittle!
I'll give the workflow_dispatch
a whirl and see if everything is working in the 'real world'
Uses GraphQL for both queries and mutations. This allows the inclusion of Discussions, and greatly reduced runtime.
Uses sgqlc for a Pythonic representation of GraphQL.
This is a big change. I recommend reading through the
main()
function ofupdate_project.py
to get a feel for the workflow, before diving into how the individual queries/mutations are constructed.The Peloton in its current guise has been successfully populated by this script on several occasions, both locally and via GitHub Actions.
GitHub actions examples:
7184958408
7185244488
Closes #14 Closes #12 Closes #11 Closes #10 Closes #9