{"id":23153056,"url":"https://github.com/unitvectory-labs/dotgithubindexer","last_synced_at":"2025-07-04T07:03:11.070Z","repository":{"id":267544799,"uuid":"901576355","full_name":"UnitVectorY-Labs/dotgithubindexer","owner":"UnitVectorY-Labs","description":"A tool for indexing the different GitHub Actions workflows files across repositories within an organization.","archived":false,"fork":false,"pushed_at":"2025-04-02T21:52:15.000Z","size":67,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-02T22:29:22.446Z","etag":null,"topics":["github","github-actions"],"latest_commit_sha":null,"homepage":"","language":"Go","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/UnitVectorY-Labs.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}},"created_at":"2024-12-10T23:17:43.000Z","updated_at":"2025-04-02T21:52:17.000Z","dependencies_parsed_at":"2024-12-11T01:18:53.069Z","dependency_job_id":"98e190ba-26ac-4987-bbba-dcc60c5fa043","html_url":"https://github.com/UnitVectorY-Labs/dotgithubindexer","commit_stats":null,"previous_names":["unitvectory-labs/dotgithubindexer"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UnitVectorY-Labs%2Fdotgithubindexer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UnitVectorY-Labs%2Fdotgithubindexer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UnitVectorY-Labs%2Fdotgithubindexer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UnitVectorY-Labs%2Fdotgithubindexer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/UnitVectorY-Labs","download_url":"https://codeload.github.com/UnitVectorY-Labs/dotgithubindexer/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247208192,"owners_count":20901570,"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":["github","github-actions"],"created_at":"2024-12-17T19:29:12.183Z","updated_at":"2025-07-04T07:03:11.052Z","avatar_url":"https://github.com/UnitVectorY-Labs.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![License](https://img.shields.io/badge/license-MIT-blue)](https://opensource.org/licenses/MIT) [![Work In Progress](https://img.shields.io/badge/Status-Work%20In%20Progress-yellow)](https://guide.unitvectorylabs.com/bestpractices/status/#work-in-progress) [![Go Report Card](https://goreportcard.com/badge/github.com/UnitVectorY-Labs/dotgithubindexer)](https://goreportcard.com/report/github.com/UnitVectorY-Labs/dotgithubindexer)\n\n# dotgithubindexer\n\nA tool for indexing the different GitHub Actions workflows files across repositories within an organization.\n\n## Overview\n\nThis tool is designed to help index all of the different GitHub Actions workflows files across repositories within an organization. This can be useful for understanding the different variants of workflows that are being used across repositories.\n\nWhile this tool is not opinionated, its intended use case is when the different workflows with the same name are intended to be identical between repositories. This tool can help identify when this is not the case and make it easier to resolve those conflicts.\n\n## Use\n\n```text\nUsage: dotgithubindexer -org \u003corganization\u003e -token \u003ctoken\u003e [options]\n  -db string\n    \tPath to the database repository (default \"./db\")\n  -org string\n    \tGitHub Organization name (required)\n  -private\n    \tInclude private repositories; boolean\n  -public\n    \tInclude public repositories; boolean (default true)\n  -token string\n    \tGitHub API token (required)\n```\n\n## Folder Structure\n\nThis application does not utilize a database, instead the content is output to text files and is intended to be committed to a git repository. The folder structure is as follows:\n\n```text\n.\n└── db\n    ├── actions\n    │   ├── build.yml\n    │   │   ├── 559aead08264d5795d3909718cdd05abd49572e84fe55590eef31a88a08fdffd\n    │   │   ├── df7e70e5021544f4834bbee64a9e3789febc4be81470df629cad6ddb03320a5c\n    │   │   └── index.yaml\n    │   └── release.yml\n    │       ├── 6b23c0d5f35d1b11f9b683f0b0a617355deb11277d91ae091d399c655b87940d\n    │       └── index.yaml\n    └── repositories.yaml\n```\n\nThe `repositories.yaml` file contains the index of \n\n```yaml\norganization: UnitVectorY-Labs\nrepositories:\n    - repository-a\n    - repository-b\n```\n\nThe folder structure within the `actions` folder represents each file that was identified.  In that folder there is a file for each unique version of the workflow file whose name is the hash of the file content to ensure uniqueness. The `index.yaml` file contains the index of the files matching each repisotrory for to the file hash.\n\n```yaml\nrepositories:\n    repository-a: 559aead08264d5795d3909718cdd05abd49572e84fe55590eef31a88a08fdffd\n    repository-b: df7e70e5021544f4834bbee64a9e3789febc4be81470df629cad6ddb03320a5c\n```\n\nA `README.md` file is generated for each workflow file that links to that file on GitHub for easy reference.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funitvectory-labs%2Fdotgithubindexer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Funitvectory-labs%2Fdotgithubindexer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funitvectory-labs%2Fdotgithubindexer/lists"}