{"id":19121717,"url":"https://github.com/kbrashears5/github-action-repo-sync","last_synced_at":"2025-05-05T16:28:02.598Z","repository":{"id":37797124,"uuid":"289758662","full_name":"kbrashears5/github-action-repo-sync","owner":"kbrashears5","description":"Github Action to sync repo metadata from code to repo","archived":false,"fork":false,"pushed_at":"2023-09-20T18:11:30.000Z","size":35,"stargazers_count":1,"open_issues_count":2,"forks_count":3,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-19T10:28:25.977Z","etag":null,"topics":["description","homepage","keywords","metadata","npm","nuget","repo","sync","topics","website"],"latest_commit_sha":null,"homepage":"https://github.com/kbrashears5/github-action-repo-sync","language":"Shell","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/kbrashears5.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,"zenodo":null}},"created_at":"2020-08-23T20:07:54.000Z","updated_at":"2023-08-01T22:13:29.000Z","dependencies_parsed_at":"2025-04-19T02:33:15.107Z","dependency_job_id":"0e0ae0cf-f50f-4a0b-8dae-30a6cf90090a","html_url":"https://github.com/kbrashears5/github-action-repo-sync","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kbrashears5%2Fgithub-action-repo-sync","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kbrashears5%2Fgithub-action-repo-sync/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kbrashears5%2Fgithub-action-repo-sync/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kbrashears5%2Fgithub-action-repo-sync/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kbrashears5","download_url":"https://codeload.github.com/kbrashears5/github-action-repo-sync/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252533255,"owners_count":21763555,"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":["description","homepage","keywords","metadata","npm","nuget","repo","sync","topics","website"],"created_at":"2024-11-09T05:18:14.254Z","updated_at":"2025-05-05T16:28:02.580Z","avatar_url":"https://github.com/kbrashears5.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# github-action-repo-sync\nGithub Action to sync repo metadata from code to repo\n\n[![version](https://img.shields.io/github/v/release/kbrashears5/github-action-repo-sync)](https://img.shields.io/github/v/release/kbrashears5/github-action-repo-sync)\n\n# Use Cases\nKeep the github metadata in sync with your code! Metadata is now configuration as code, and can be validated with a Pull Request.\n\n# Setup\nCreate a new file called `/.github/workflows/repo-sync.yml` that looks like so:\n```yaml\nname: Repo Sync\n\non:\n  push:\n    branches:\n      - main\n  schedule:\n    - cron: 0 0 * * *\n\njobs:\n  repo_sync:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Fetching Local Repository\n        uses: actions/checkout@v3\n      - name: Repo Metadata Sync\n        uses: kbrashears5/github-action-repo-sync@v2.0.0\n        with:\n          TYPE: npm\n          PATH: package.json\n          TOKEN: ${{ secrets.ACTIONS }}\n```\n## Parameters\n| Parameter | Required | Description |\n| --- | --- | --- |\n| TYPE | true | Type of repo. See below for supported repo types |\n| PATH | true | Path to the repo type's metadata file |\n| TOKEN | true | Personal Access Token with Repo scope |\n\n## Supported Repo Types\n| Repo Type | File | Description |\n| --- | --- | --- |\n| npm | package.json | package.json for repo |\n| nuget | ProjectName.csproj | csproj file for project |\n| python | ProjectName.toml | toml file for project |\n\n## Tips\nFor repo types that aren't listed above (like this one), you can still use this action, just have to get creative.\n\nFor example (and I would recommend), you can create a file called `metadata.json`, choose the npm type, and make the file look like so:\n```json\n{\n  \"description\": \"Repo description\",\n  \"homepage\": \"https://github.com/kbrashears5/github-action-repo-sync\",\n  \"keywords\": [\n    \"sync\",\n    \"repo\",\n    \"metadata\"\n  ]\n}\n```\nFor example, see `.github/workflows/repo-sync.yml` \u0026 `metadata.json` in this repo\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkbrashears5%2Fgithub-action-repo-sync","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkbrashears5%2Fgithub-action-repo-sync","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkbrashears5%2Fgithub-action-repo-sync/lists"}