{"id":16109328,"url":"https://github.com/kkrishguptaa/config-github","last_synced_at":"2025-03-18T09:30:47.879Z","repository":{"id":213865265,"uuid":"735096323","full_name":"kkrishguptaa/config-github","owner":"kkrishguptaa","description":"GitHub Config for all @xkrishguptaa Repositories 🍭","archived":false,"fork":false,"pushed_at":"2025-01-08T18:24:02.000Z","size":89,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-10T11:53:01.805Z","etag":null,"topics":["config","github","github-actions","github-api","github-config"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kkrishguptaa.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"xkrishguptaa"}},"created_at":"2023-12-23T16:44:24.000Z","updated_at":"2025-01-08T18:24:05.000Z","dependencies_parsed_at":"2023-12-24T13:40:44.127Z","dependency_job_id":"b069f15a-0c45-4f13-8051-903ae7b7cb1a","html_url":"https://github.com/kkrishguptaa/config-github","commit_stats":null,"previous_names":["xkrishguptaa/open-source","xkrishguptaa/config-github","fi-krish/config-github","kkrishguptaa/config-github"],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kkrishguptaa%2Fconfig-github","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kkrishguptaa%2Fconfig-github/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kkrishguptaa%2Fconfig-github/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kkrishguptaa%2Fconfig-github/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kkrishguptaa","download_url":"https://codeload.github.com/kkrishguptaa/config-github/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243910666,"owners_count":20367546,"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":["config","github","github-actions","github-api","github-config"],"created_at":"2024-10-09T19:30:48.600Z","updated_at":"2025-03-18T09:30:47.578Z","avatar_url":"https://github.com/kkrishguptaa.png","language":"JavaScript","readme":"\u003cdiv align=\"center\"\u003e\n  \u003cimg src=\"https://github.com/github.png\" height=\"100px\" width=\"100px\" style=\"border-radius: 100%;\" /\u003e\n  \u003cbr /\u003e\n  \u003ch1\u003eGitHub Config\u003c/h1\u003e\n  \u003cp\u003eGitHub Config for all \u003ca href=\"https://github.com/xkrishguptaa\"\u003e@xkrishguptaa\u003c/a\u003e Repositories 🍭\u003c/p\u003e\n\u003c/div\u003e\n\n## ❓ Why `config-github`?\n\n- It is hard to maintain consistency across all repositories\n- This will sync all the repository settings\n- It supports `labels`, `rulesets`, `webhooks` and more...\n\n## 📦 Usage\n\nThe GitHub Action [sync.yml](https://github.com/xkrishguptaa/config-github/actions/workflows/sync.yml) will run every day and sync the repository settings with the config.\n\n## ✨ Features\n\n### Labels\n\n- Finds labels from the config in `config/labels.json` and creates them if not found, else updates them. It will also delete the labels which are not in the config.\n- It will also sync the colors of the labels.\n- The key of the label for syncing is the `name` of the label.\n\n### Disable Projects (if unused)\n\n- If the repository has projects enabled, it will disable them if they are not used.\n\n### Merge Strategies\n\n- It will set the merge strategy to `squash` and `rebase` for the repository.\n- Merge commits are not allowed.\n- Auto-merge is enabled for the repository.\n- Branches are deleted after merging.\n- Web commit signing is required.\n\n### Rulesets\n\n- First, It will also delete all the rulesets.\n- Then it will create the rulesets from the config in `config/rulesets.json`.\n\n### Webhooks\n\n- Webhooks are only `CREATED` and `UPDATED`.\n- The key for syncing the webhooks is the `url` of the webhook.\n- The config is in `config/webhooks.json`.\n\n### Action Permissions\n\n- It will set the permissions for the `actions` to `write` for the repositorys.\n- It will allow the `actions` to access the approve pull requests.\n\n### Readme\n\n- It will check if the repository has a `README.md` file or not.\n- If not, it will make a issue and ask the user to add a `README.md` file.\n\nIt will not create duplicate issues for the `README.md` file if the issue is already open and the title of the issue hasn't changed.\n\n### License\n\n- It will check if the repository has a `LICENSE` file or not.\n- If not, it will make a issue and ask the user to add a `LICENSE` file.\n\nIt will not create duplicate issues for the `LICENSE` file if the issue is already open and the title of the issue hasn't changed.\n\n## 📝 License\n\nThis project is licensed under the GNU-GPLv3.0+ license. Read the license file for more details\n","funding_links":["https://github.com/sponsors/xkrishguptaa"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkkrishguptaa%2Fconfig-github","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkkrishguptaa%2Fconfig-github","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkkrishguptaa%2Fconfig-github/lists"}