MCPcopy Index your code
hub / github.com/c-hive/fresh-bot

github.com/c-hive/fresh-bot @v1.1.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v1.1.0 ↗ · + Follow
3 symbols 9 edges 7 files 0 documented · 0% updated 7mo agov1.1.0 · 2025-12-08★ 443 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Fresh-bot

The opposite of Stale. A bot against stale bots.

This GitHub Action will leave a comment in your name whenever a stale bot is about to close an issue you're subscribed to. Let the fight begin.

Why?

Issues don't go away just because you don't look. Many projects maintain a facade of good health by ignoring and auto-closing issues. Closed issues fragment the discussion and discourage outside contributions. It is often unclear whether an issue is still present. And so on. This scenario is a nightmare for developers.

How?

The action checks notifications and acts when a bot comments a stale warning, usually "This issue has been automatically marked as stale". It will then make a comment if no one else did that yet.

It is strict about recognizing stale comments, checking for both user type ("bot") and the content of the message. This is to avoid false positives. The message can be custom, but most of them are covered, e.g.: - create-react-app - rails - mocha - electron-builder - material-table - ..and many more

Usage

  • Create a repo for running personal actions or use any repo
  • Create a Personal Access Token with repo scope and set it as a repository secret with the name PERSONAL_ACCESS_TOKEN
  • Commit the workflow below

.github/workflows/fresh-bot.yml

name: Bump stale issues

on:
  schedule:
    # Run every day at 1am
    - cron: '0 1 * * *'

jobs:
  fresh-bot:
    runs-on: ubuntu-latest

    steps:
      - name: Bump stale issues
        uses: c-hive/fresh-bot@v1
        with:
          GITHUB_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }} # Needs `repo` scope

Conventions

This project follows C-Hive guides for code style, way of working and other development concerns.

License

The project is available as open source under the terms of the MIT License.

Core symbols most depended-on inside this repo

isBot
called by 9
src/utils/utils.js
devEnv
called by 2
src/config/config.js
run
called by 1
src/run.js

Shape

Function 3

Languages

TypeScript100%

Modules by API surface

src/utils/utils.js1 symbols
src/run.js1 symbols
src/config/config.js1 symbols

For agents

$ claude mcp add fresh-bot \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page