{"id":15090094,"url":"https://github.com/chaotictrials/action-sync-workflows","last_synced_at":"2025-08-02T11:34:20.055Z","repository":{"id":248390722,"uuid":"828554594","full_name":"ChaoticTrials/action-sync-workflows","owner":"ChaoticTrials","description":"Sync workflow files to repositories with a specified topic.","archived":false,"fork":false,"pushed_at":"2025-04-18T16:48:23.000Z","size":426,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-30T22:46:05.496Z","etag":null,"topics":["action","actions"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/ChaoticTrials.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":"2024-07-14T13:57:29.000Z","updated_at":"2025-04-18T16:48:27.000Z","dependencies_parsed_at":null,"dependency_job_id":"c43abff3-8b71-454e-989d-c34b8ec8275d","html_url":"https://github.com/ChaoticTrials/action-sync-workflows","commit_stats":null,"previous_names":["chaotictrials/action-sync-workflows"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/ChaoticTrials/action-sync-workflows","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChaoticTrials%2Faction-sync-workflows","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChaoticTrials%2Faction-sync-workflows/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChaoticTrials%2Faction-sync-workflows/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChaoticTrials%2Faction-sync-workflows/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ChaoticTrials","download_url":"https://codeload.github.com/ChaoticTrials/action-sync-workflows/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChaoticTrials%2Faction-sync-workflows/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268378971,"owners_count":24240907,"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","status":"online","status_checked_at":"2025-08-02T02:00:12.353Z","response_time":74,"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":["action","actions"],"created_at":"2024-09-25T09:21:12.133Z","updated_at":"2025-08-02T11:34:20.047Z","avatar_url":"https://github.com/ChaoticTrials.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# action-sync-workflows\n\nThis GitHub Action syncs workflow files to repositories with a specified topic, either for a user or an organization.\n\n## Usage\n\nThis action fetches repositories with a specified topic from a user or organization, and then syncs workflow files from\na specified directory to those repositories. If the file already exists and matches the content, it will be skipped.\n\n### Inputs\n\n|       Name        |                        Description                         |      Required       | Default |\n| :---------------: | :--------------------------------------------------------: | :-----------------: | :-----: |\n| `user` \\|\\| `org` | GitHub username or organization to fetch repositories from | Exactly one of them |         |\n|      `topic`      |            The topic to filter repositories by             |         Yes         |         |\n|    `directory`    |      The directory containing workflow files to sync       |         Yes         |         |\n|     `prefix`      |               Optional commit message prefix               |         No          |         |\n|      `token`      |              GitHub token for authentication               |         Yes         |         |\n\n### Example Workflow\n\n```yaml\nname: Sync Workflow Files\n\non: [push]\n\njobs:\n  sync:\n    runs-on: ubuntu-latest\n    permissions:\n      contents: write\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v2\n\n      - name: Sync Workflow Files\n        uses: ChaoticTrials/action-sync-workflows@v1\n        with:\n          user: 'your-username'\n          org: 'your-org'\n          topic: 'your-topic'\n          directory: '.github/workflows'\n          prefix: '[Sync]'\n          token: ${{ secrets.GITHUB_TOKEN }}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchaotictrials%2Faction-sync-workflows","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchaotictrials%2Faction-sync-workflows","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchaotictrials%2Faction-sync-workflows/lists"}