π€
GStraccini-bot is a GitHub bot designed to keep your repository organized and healthy by automating tasks like managing pull requests, issues, comments, and commits. This allows you to focus on solving real problems.
Live Dashboard Β· Documentation Β· Commands Reference Β· Install the Bot
GStraccini-bot automates essential repository tasks, managing pull requests, issues, comments, and commits to help maintain a clean, organized, healthy project environment. This lets you focus on development and problem-solving.
This repository contains the core daemon/workers for GStraccini-bot, available at bot.straccini.com.
To install the bot:
- Visit the GitHub Apps page.
- Install it for your account, organization, or selected repositories.
You can see an updated list of available commands by commenting @gstraccini help on a pull request or issue, or by browsing the documentation website.
GStraccini-bot can handle various tasks through chat commands β from managing pull requests to running linters, formatters, and CI/CD actions.
For the full, up-to-date list of commands and how to use them, see the Commands Reference on the documentation website.
Note
If you are not allowed to use the bot, a thumbs-down reaction will be added to your comment.
GStraccini-bot uses several components to manage repositories:
| Component | Description |
|---|---|
| API | The bot's API project. Stats and configuration endpoints. |
| Docs | The bot's documentation (website). |
| Handler | Handles incoming webhooks. |
| Service | The bot's service project. The main worker who processes tasks. |
| Website | Provides the bot's landing page and dashboard. |
| Workflows | Executes GitHub Actions. |
GStraccini-bot runs automated tasks at regular intervals on its infrastructure:
Two of the workers above also reconcile the database with GitHub's actual state on a schedule, independently of webhook events (see ADR-0001):
| Sync | Runs from | When | What |
|---|---|---|---|
| Installations | Installations worker | ποΈ 1st of every month (or the first run after it) | Registers the app's installations, updates their account metadata, marks uninstalled ones, and re-lists the repositories of every installation never synced or last synced over 3 months ago (github_installations.LastSyncDate). |
| Repositories | Repositories worker | β° every hour, one repository | Takes the active repository with the oldest github_repositories.LastSyncDate, refreshes its metadata (name, visibility, owner) and reconciles its open pull requests, open issues and branches. |
Both can be run by hand, from the CLI or through POST /v1/jobs/{syncInstallations|syncRepositories}/:
php Src/Workers/syncInstallations.php [--installation=<id>] [--force] [--throttle=<seconds>] [--dry-run]
php Src/Workers/syncRepositories.php [--repository=<id>] [--limit=<n>] [--throttle=<seconds>] [--dry-run]- π GitHub Marketplace
- π¦ GitHub App
- π» Repository on GitHub
- π Bot's Dashboard
- π Bot's Documentation
- β‘ Commands Reference
