{"id":13533311,"url":"https://github.com/c-hive/fresh-bot","last_synced_at":"2025-04-01T21:32:10.033Z","repository":{"id":39755057,"uuid":"185659781","full_name":"c-hive/fresh-bot","owner":"c-hive","description":"The opposite of Stale. A bot against stale bots.","archived":false,"fork":false,"pushed_at":"2022-12-30T20:55:26.000Z","size":1057,"stargazers_count":38,"open_issues_count":10,"forks_count":5,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-01T19:01:59.639Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/c-hive.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-05-08T18:30:46.000Z","updated_at":"2025-02-22T23:36:27.000Z","dependencies_parsed_at":"2023-01-11T17:21:47.270Z","dependency_job_id":null,"html_url":"https://github.com/c-hive/fresh-bot","commit_stats":{"total_commits":76,"total_committers":5,"mean_commits":15.2,"dds":0.618421052631579,"last_synced_commit":"341bfb07bf0077427cf98c44faf250dafe4e297f"},"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/c-hive%2Ffresh-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/c-hive%2Ffresh-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/c-hive%2Ffresh-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/c-hive%2Ffresh-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/c-hive","download_url":"https://codeload.github.com/c-hive/fresh-bot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246713334,"owners_count":20821874,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T07:01:18.619Z","updated_at":"2025-04-01T21:32:09.687Z","avatar_url":"https://github.com/c-hive.png","language":"JavaScript","funding_links":[],"categories":["Community Resources"],"sub_categories":["Notifications and Messages"],"readme":"# Fresh-bot\n\n#### The opposite of [Stale](https://github.com/apps/stale). A bot against stale bots.\n\nThis 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._\n\n## Why?\n\nIssues 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.\n\n## How?\n\nThe 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.\n\nIt 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.:\n- [create-react-app](https://github.com/facebook/create-react-app/issues/7838#issuecomment-592205202)\n- [rails](https://github.com/rails/rails/issues/37042#issuecomment-633906487)\n- [mocha](https://github.com/mochajs/mocha/issues/2582#issuecomment-341302100)\n- [electron-builder](https://github.com/electron-userland/electron-builder/issues/4233#issuecomment-663796807)\n- [material-table](https://github.com/mbrn/material-table/issues/1592#issuecomment-652067096)\n- ..and many more\n\n## Usage\n\n- Create a repo for running personal actions or use any repo\n- Create a [Personal Access Token](https://github.com/settings/tokens) with `repo` scope and set it as a repository secret with the name `PERSONAL_ACCESS_TOKEN`\n- Commit the workflow below\n\n`.github/workflows/fresh-bot.yml`\n```yml\nname: Bump stale issues\n\non:\n  schedule:\n    # Run every day at 1am\n    - cron: '0 1 * * *'\n\njobs:\n  fresh-bot:\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Bump stale issues\n        uses: c-hive/fresh-bot@v1\n        with:\n          GITHUB_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }} # Needs `repo` scope\n```\n\n## Conventions\n\nThis project follows [C-Hive guides](https://github.com/c-hive/guides) for code style, way of working and other development concerns.\n\n## License\n\nThe project is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fc-hive%2Ffresh-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fc-hive%2Ffresh-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fc-hive%2Ffresh-bot/lists"}