{"id":24391997,"url":"https://github.com/angelmadames/gru-rb","last_synced_at":"2026-03-10T02:06:19.901Z","repository":{"id":155682915,"uuid":"447434579","full_name":"angelmadames/gru-rb","owner":"angelmadames","description":"gru - A Ruby-based CLI tool to run maintenance tasks on GitHub repositories (tags, repo settings, tags rotation, stable branch cleanup, etc) ","archived":false,"fork":false,"pushed_at":"2026-02-12T11:06:34.000Z","size":81,"stargazers_count":2,"open_issues_count":13,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2026-02-12T19:53:33.948Z","etag":null,"topics":["github","issues","labels","ruby","script","settings"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/angelmadames.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2022-01-13T02:16:41.000Z","updated_at":"2024-11-21T01:28:14.000Z","dependencies_parsed_at":"2024-07-13T03:28:03.508Z","dependency_job_id":"4dabcac1-752d-467c-9f30-3041169923b0","html_url":"https://github.com/angelmadames/gru-rb","commit_stats":null,"previous_names":["angelmadames/gru-rb"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/angelmadames/gru-rb","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/angelmadames%2Fgru-rb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/angelmadames%2Fgru-rb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/angelmadames%2Fgru-rb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/angelmadames%2Fgru-rb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/angelmadames","download_url":"https://codeload.github.com/angelmadames/gru-rb/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/angelmadames%2Fgru-rb/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30322638,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-10T01:36:58.598Z","status":"online","status_checked_at":"2026-03-10T02:00:06.579Z","response_time":106,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["github","issues","labels","ruby","script","settings"],"created_at":"2025-01-19T18:00:38.264Z","updated_at":"2026-03-10T02:06:14.892Z","avatar_url":"https://github.com/angelmadames.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!-- omit in toc --\u003e\n# gru ― GitHub Repository Updater Tool\n\n[![tests](https://github.com/angelmadames/github-repo-updater/actions/workflows/rubocop.yml/badge.svg)](https://github.com/angelmadames/github-repo-updater/actions/workflows/rubocop.yml)\n\n\u003c!-- omit in toc --\u003e\n- [📒 Summary](#-summary)\n- [⚙️ Setup](#️-setup)\n- [🚀 Run it](#-run-it)\n  - [ℹ️ Help](#ℹ️-help)\n  - [➡️ Update labels](#️-update-labels)\n  - [➡️ Update repo settings](#️-update-repo-settings)\n  - [➡️ Remove old tags](#️-remove-old-tags)\n\n## 📒 Summary\n\nI got tired of manually updating default settings, adding labels, and rotating\nold tags on each repository. GitHub, specifically, allows you to set default\nsettings  at the organization level for new repositories but it is not possible\nto  apply those to previously created repositories automatically.\n\nThe purpose of this script is to set a default set of labels\nto an specified repository.\n\n\u003e Made with Ruby :gem: for learning purposes.\n\n## ⚙️ Setup\n\n- Create a GitHub [access token](https://github.com/settings/tokens).\n- Create the dotenv (`.env`) file using the example `.env.example`\n  file and update it accordingly.\n- Change your settings in the `config.yml` file.\n- Install the script dependencies using `bundle`:\n\n  ```shell\n  bundle install\n  ```\n\n## 🚀 Run it\n\nRun the script on your terminal:\n\n### ℹ️ Help\n\n```shell\n./gru.rb help         # Show all available commands\n./gru.rb help labels  # Show help for a command\n```\n\n### ➡️ Update labels\n\n```shell\n./gru.rb labels add\n./gru.rb labels remove\n```\n\n### ➡️ Update repo settings\n\n```shell\n./gru.rb repo update\n./gru.rb repo update-all\n```\n\n### ➡️ Remove old tags\n\n```shell\n./gru.rb tags list\n./gru.rb tags remove-stale\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fangelmadames%2Fgru-rb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fangelmadames%2Fgru-rb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fangelmadames%2Fgru-rb/lists"}