Generate daily GitHub summaries of newly created pull requests (PRs) and
commits, categorized by organization. Optionally, use Ollama to generate a brief
summary of each PR based on its title. Additionally, you can leverage the
daily GitHub workflow to automate the tool’s
execution, submitting the report as a GitHub issue.
- Ollama installed
- Ollama
mistralmodel (optional) - Python + UV
daily-summary needs a Github token to fetch organization/user PRs and
commits. To create one, follow these steps:
- Create a Github token with the
following permissions:
repo-> Check alladmin:org-> Checkread:orguser-> Check all
- Authorize the token if your organization has SAML enabled. Follow this guide for instructions
To install run:
uv syncTo check if its properly installed:
uv run task cli --helpEnsure your GitHub token is available in your environment as GITHUB_TOKEN, or
provide the token as a parameter to the command using:
uv run task cli --token <GITHUB_TOKEN> ...This will default to today's date.
uv run task cli daily-summaryuv run task cli daily-summary --yesterdayuv run task cli daily-summary --date 2025-02-28uv run task cli --username github-bot daily-summaryuv run task cli list-issuesuv run task cli list-issues --date 2025-02-28uv run task cli list-commits --date 2025-02-28uv run task cli accountFor more usages, use:
uv run task cli --help- Fork the repository
- Follow the steps shown in section Creating a Github token
- Add the newly created token to your CI secrets as
GH_TOKEN. See this guide for more details - Update the GitHub workflow configuration:
- Replace the values of
SUMMARY_REPOSITORYandSUMMARY_ASSIGNEEin the environment variables with your summary repository and assignee.
- Replace the values of
