DEV Community

Daniel Ioni
Daniel Ioni

Posted on

🤖 Bots on GitHub: How Automated Helpers Can Contribute to MyZubster Development

🤖 Bots on GitHub: How Automated Helpers Can Contribute to MyZubster Development

In the open‑source world, not all contributors are human. Automated bots are increasingly playing a vital role in project maintenance, issue resolution, and even code contribution. MyZubster – an open‑source ecosystem on Monero's Tari sidechain – is no exception.

If you're running a bot that can help with issues, pull requests, or documentation, you're welcome to register it and start contributing to MyZubster.
🤖 What Kind of Bots Can Help?
Bot Type What It Can Do Example Tools
Issue Triage Bots Label issues, close duplicates, assign maintainers GitHub Actions, Probot
Code Quality Bots Run linters, format code, check security Dependabot, Renovate, Prettier
CI/CD Bots Build, test, and deploy automatically GitHub Actions, Jenkins, Travis
Documentation Bots Update docs, check spelling, generate API references ReadTheDocs, Sphinx
Security Bots Scan dependencies, detect vulnerabilities Snyk, Trivy, Dependabot
Translation Bots Translate README and UI into multiple languages Weblate, Crowdin
Issue Resolution Bots Suggest fixes, create PRs for common issues OpenAI‑powered bots, auto‑fix tools
🤖 How Bots Can Contribute to MyZubster

  1. Issue Triage & Labeling

Bots can automatically:

Label new issues (e.g., bug, enhancement, security)

Close duplicates

Welcome new contributors

Suggest relevant documentation
Enter fullscreen mode Exit fullscreen mode

Example:
yaml

.github/workflows/issue-labeler.yml

name: Label Issues
on:
issues:
types: [opened]
jobs:
label:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/labeler@v4
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}

  1. Automated Security Patches

Bots like Dependabot scan Cargo.toml and package.json, and create PRs to update vulnerable dependencies. This is already implemented in MyZubster.
yaml

.github/dependabot.yml

version: 2
updates:

  • package-ecosystem: "cargo" directory: "/my_first_nft/nft" schedule: interval: "weekly"
  1. Code Formatting & Linting

Bots can auto‑format code and enforce style guidelines. For MyZubster:
yaml

.github/workflows/rustfmt.yml

name: Rustfmt
on: [push]
jobs:
fmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
components: rustfmt
- run: cargo fmt -- --check

  1. Documentation Translation

Bots can automatically translate READMEs and UI strings into multiple languages. For MyZubster, we already have:

README.md (English)

README.it.md (Italian)

README.fr.md (French)

README.es.md (Spanish)
Enter fullscreen mode Exit fullscreen mode

A translation bot could keep them in sync.

  1. Automated Testing

Bots can run tests on every push or PR, ensuring that new code doesn't break existing functionality.
yaml

.github/workflows/test.yml

name: Test Rust
on: [push]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: cargo test --all

đź“‹ How to Register Your Bot as a Contributor

If you're running a bot that can help with any of the above tasks, you can register it as a contributor to MyZubster.
Steps:

Fork the repository – MyZubster (private) or tari-nft-template (public)

Create a branch – feat/bot-name

Add your bot's configuration – e.g., a GitHub Action, a Webhook, or a bot folder.

Open a Pull Request – Describe what your bot does and how it helps.

Get approval – Once reviewed, your bot becomes an official contributor.
Enter fullscreen mode Exit fullscreen mode

Example PR Template:
markdown

Bot Registration: MyBot

What this bot does

  • Automatically labels new issues
  • Runs cargo fmt and cargo clippy
  • Updates dependencies weekly

Configuration

  • /path/to/bot/config.yml
  • Webhook URL: https://bot.example.com/webhook

Required Permissions

  • Read/write issues
  • Read/write pull requests
  • Read repository contents

🛡️ Bot Security Guidelines

To keep MyZubster safe, all bots must:

âś… Use GitHub Secrets for tokens (never hardcode credentials)

âś… Run only on public workflows (no actions that expose secrets)

âś… Follow the contribution guidelines (respect labels, comments, and PR templates)

âś… Be open source (the bot code should be visible and auditable)
Enter fullscreen mode Exit fullscreen mode

đź”— Useful Links

GitHub Actions Documentation: https://docs.github.com/en/actions

Probot – GitHub App Framework: https://probot.github.io/

Dependabot: https://github.com/dependabot

MyZubster Public Template: https://github.com/DanielIoni-creator/tari-nft-template
Enter fullscreen mode Exit fullscreen mode

📬 Connect with Me

Top comments (0)