Skip to content

πŸ€– :octocat: GStraccini-bot automates repository management, ensuring organization and health by handling pull requests, issues, comments, and commits.

License

Notifications You must be signed in to change notification settings

guibranco/gstraccini-bot-service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

GStraccini-bot

πŸ€– :octocat: 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.

Deploy via ftp PHP Linting JSON/YAML validation Shell checker


About 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.


About This Repository

This repository serves as the core for GStraccini-bot. It processes commands and actions, enabling the bot to automate your repository.


Installation

To install the bot:

  1. Visit the GitHub Apps page.
  2. 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.


Available Commands

GStraccini-bot can handle various tasks. Here’s a list of commands:

Commands

  • @gstraccini help: Shows the help message with available commands.
  • @gstraccini add project <projectPath>: Adds a project to the solution file (only for .NET projects).
  • @gstraccini appveyor build <type>: Runs the AppVeyor build for the target commit and/or pull request.
  • @gstraccini appveyor bump version <component>: Bumps the CI version in AppVeyor.
  • @gstraccini appveyor register: Registers the repository in AppVeyor.
  • @gstraccini appveyor reset: Resets the AppVeyor build number for the target repository.
  • @gstraccini bump version <version> <project>: Bumps the .NET version in .csproj files.
  • @gstraccini cargo clippy: Formats the Rust code using Cargo Clippy (only for Rust projects).
  • @gstraccini change runner <runner> <workflow> <jobs>: Changes the GitHub action runner in a workflow file (.yml).
  • @gstraccini codacy bypass: Bypasses the Codacy analysis for the target commit and/or pull request.
  • @gstraccini codacy reanalyze commit: Reanalyzes the Codacy last commit in a pull request.
  • @gstraccini codeclimate bypass: Bypasses the CodeClimate analysis for the target commit and/or pull request.
  • @gstraccini copy labels <repository>: Copies the labels from another repository.
  • @gstraccini copy issue <repository>: Copies an issue from one repository to another.
  • @gstraccini create labels <style> <categories>: Creates the default labels in the repository.
  • @gstraccini csharpier: Formats the C# code using CSharpier (only for .NET projects).
  • @gstraccini fix csproj: Updates the .csproj file with the packages.config version of NuGet packages (only for .NET Framework projects).
  • @gstraccini npm check updates: Updates dependencies in a package.json and package-lock.json.
  • @gstraccini npm dist: Generates or regenerates the dist files.
  • @gstraccini prettier: Formats the code using Prettier.
  • @gstraccini rerun checks <conclusion>: Reruns the checks in the target pull request.
  • @gstraccini rerun workflows <conclusion>: Reruns the workflows (actions) in the target pull request.
  • @gstraccini review: Enables review for the target pull request.
  • @gstraccini update snapshot: Updates test snapshots (npm test -- -u) (only for Node.js projects).

Note

If you are not allowed to use the bot, a thumbs-down reaction will be added to your comment.

Tip

You can trigger commands with a βœ… tick (beta feature).


How It Works

GStraccini-bot uses several components to manage repositories:

  • API: The bot’s API project. Stats and configuration endpoints.
  • Docs: The bot's documentation.
  • Handler: Handles incoming webhooks.
  • Service: The bot's service project. Main worker that processes tasks
  • Website: Provides the bot's landing page and dashboard.
  • Workflows: Execute GitHub Actions.

Cronjobs

GStraccini-bot runs automated tasks at regular intervals on its infrastructure:

  • Branches – πŸ•› every 1 minute
  • Comments – πŸ•› every 1 minute
  • Issues – πŸ•› every 1 minute
  • Pull Requests – πŸ•› every 1 minute
  • Pushes – πŸ•› every 1 minute
  • Repositories – πŸ•› every 1 minute
  • Signature – πŸ•› every 5 minutes

Useful Links

About

πŸ€– :octocat: GStraccini-bot automates repository management, ensuring organization and health by handling pull requests, issues, comments, and commits.

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks