-
Notifications
You must be signed in to change notification settings - Fork 1.8k
GraphQL Cron Job #182
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
GraphQL Cron Job #182
Conversation
Completed first step as outlined in issue #179
Using act for local testing. |
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.
This is looking like a great start! We can definitely land it now - we might need to refactor how we import our question list since it looks like questions.py
is a Python file and not JSON. I don't think this is a huge problem, but something to be aware of when we fully integrate things!
Edit: What were the commands you were using to verify the syntax/logic using act
? I'm trying to replicate it on my end, however my console isn't printing anything out running:
sprashad@home ~/projects/leetcode-patterns graphql-cron-job act -v
DEBU[0000] Loading environment from /Users/sprashad/projects/leetcode-patterns/.env
DEBU[0000] Loading secrets from /Users/sprashad/projects/leetcode-patterns/.secrets
DEBU[0000] Loading workflows from '/Users/sprashad/projects/leetcode-patterns/.github/workflows'
DEBU[0000] Loading workflows recursively
DEBU[0000] Found workflow 'run-python.yml' in '/Users/sprashad/projects/leetcode-patterns/.github/workflows/run-python.yml'
DEBU[0000] Reading workflow '/Users/sprashad/projects/leetcode-patterns/.github/workflows/run-python.yml'
DEBU[0000] Planning event: push
I was running Also, yes, I should change the questions to be in json format, but I just implemented everything as I had it originally for now. |
Sounds good! Thank you! |
Implementing automatic question metadata updates using GitHub workflows and LeetCode's GraphQL API