This repo uses GitHub's API to get the users who've starred a repo, and then sends those users to a Pandas DataFrame.
The GitHub API requires authentication. To authenticate, you'll need to create a personal access token. You can do that by following the instructions here.
To use the token, export it as an environmental variable:
export GITHUB_TOKEN=`<your token>`
or as an entry in your .env
file:
GITHUB_TOKEN=<your token>
Then, you can run the Workflow with the following command:
# terminal one
poetry run python run_worker.py
# terminal two
poetry run python run_workflow.py
temporal workflow terminate --workflow-id github-workflow