{"id":20696826,"url":"https://github.com/actionsdesk/mirror-sync","last_synced_at":"2025-09-27T07:30:58.062Z","repository":{"id":103244618,"uuid":"438625089","full_name":"ActionsDesk/mirror-sync","owner":"ActionsDesk","description":"Synchronizing mirrored repositories bidirectionally","archived":true,"fork":false,"pushed_at":"2021-12-15T13:04:35.000Z","size":6,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-03-11T02:48:37.571Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/ActionsDesk.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":"2021-12-15T12:41:08.000Z","updated_at":"2025-01-10T16:59:05.000Z","dependencies_parsed_at":null,"dependency_job_id":"c80ac213-b544-47ec-96ee-44a20afc59bd","html_url":"https://github.com/ActionsDesk/mirror-sync","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ActionsDesk/mirror-sync","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ActionsDesk%2Fmirror-sync","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ActionsDesk%2Fmirror-sync/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ActionsDesk%2Fmirror-sync/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ActionsDesk%2Fmirror-sync/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ActionsDesk","download_url":"https://codeload.github.com/ActionsDesk/mirror-sync/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ActionsDesk%2Fmirror-sync/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":277200296,"owners_count":25778129,"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-09-27T02:00:08.978Z","response_time":73,"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":[],"created_at":"2024-11-17T00:15:31.523Z","updated_at":"2025-09-27T07:30:57.839Z","avatar_url":"https://github.com/ActionsDesk.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# mirror-sync\n\nSynchronizing mirrored repositories bidirectionally\n\n## Setup\n\nThis action assume that you have a repository on a remote location and that you want to synchronize it with mirror on GitHub.\n\n### Step 1\n\nCreate a repository on GitHub\n\n### Step 2\n\nMirror the repository following [these steps](https://docs.github.com/en/repositories/creating-and-managing-repositories/duplicating-a-repository#mirroring-a-repository).\n\n### Step 3\n\nIn the repository on GitHub, add this GitHub Actions workflow by adding a `mirror-sync.yml` file to `.github/workflows`:\n\n```yml\nname: Mirror Sync\n\non:\n  workflow_dispatch:\n  push:\n  schedule:\n    - cron: '*/5 * * * *'\n\njobs:\n  mirror-sync:\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Perform mirror sync\n        uses: ActionsDesk/mirror-sync@main\n        with:\n          remote-repository-url: https://${{ secrets.REMOTE_AUTHENTICATION_TOKEN }}@example.com/remote-repository.git\n```\n\nIf you want to authenticate to the remote repository via HTTPS and an authentication token, add it to the `remote-repository-url` as in the example above.\nIf you want to use basic authentication, you can pass the user and password like so:\n\n```yml\nremote-repository-url: https://${{ secrets.REMOTE_AUTHENTICATION_USER }}:${{ secrets.REMOTE_AUTHENTICATION_PASSWORD }}@example.com/remote-repository\n```\n\nIf you want to use SSH for autentication, use an action that sets up the SSH key, unless you are using a self-hosted runner that already has SSH keys set up.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Factionsdesk%2Fmirror-sync","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Factionsdesk%2Fmirror-sync","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Factionsdesk%2Fmirror-sync/lists"}