The js script as CLI module is still in progress, it uses the GPT model to summarize daily work.
It fetches pull request information from the GitHub API using the @octokit
library and summarizes the PR titles using the GPT model.
It fetches JIRA sprint tickets related to a user's activity yesterday.
To run this script, you need to have the necessary environment variables set for the GitHub token
https://github.com/settings/tokens
and OpenAI API key. You can set these environment variables in your terminal before running the script.
export GITHUB_TOKEN=your_github_token
export OPENAI_API_KEY=your_openai_api_key
If you have any questions or feedback, please feel free to reach out to me.