{"id":19982362,"url":"https://github.com/netlify/file-sync-action","last_synced_at":"2025-10-04T21:24:28.907Z","repository":{"id":36975834,"uuid":"469180786","full_name":"netlify/file-sync-action","owner":"netlify","description":"A GitHub Action for syncing files across repositories","archived":false,"fork":false,"pushed_at":"2025-06-23T10:01:54.000Z","size":922,"stargazers_count":9,"open_issues_count":12,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-06-23T11:20:22.011Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/netlify.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2022-03-12T19:29:27.000Z","updated_at":"2025-06-23T10:01:19.000Z","dependencies_parsed_at":"2024-02-05T04:30:03.214Z","dependency_job_id":"a3a3875b-77f0-4037-9d7b-95f307e499ff","html_url":"https://github.com/netlify/file-sync-action","commit_stats":{"total_commits":58,"total_committers":3,"mean_commits":"19.333333333333332","dds":0.3448275862068966,"last_synced_commit":"69df503d834a1b52fdf0187f17daf163de485452"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/netlify/file-sync-action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netlify%2Ffile-sync-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netlify%2Ffile-sync-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netlify%2Ffile-sync-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netlify%2Ffile-sync-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/netlify","download_url":"https://codeload.github.com/netlify/file-sync-action/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netlify%2Ffile-sync-action/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261467093,"owners_count":23162635,"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":[],"created_at":"2024-11-13T04:10:57.299Z","updated_at":"2025-10-04T21:24:23.869Z","avatar_url":"https://github.com/netlify.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# File Sync Action\n\nA GitHub Action for syncing files across repositories.\n\n## The basics\n\nThis GitHub Action allows you to hold a file in a central repository and propagate it to other repositories automatically on every update. When the file changes in the source repository, File Sync Action will create a pull request on each configured mirror to propagate the update.\n\n## Configuration\n\nThe action supports the following inputs:\n\n| Name          | Description                                | Default              |\n| ------------- | ------------------------------------------ | -------------------- |\n| `files`       | A JSON string containing the file mapping  | `{}`                 |\n| `token`       | GitHub access token                        |                      |\n\nThe `files` input is a JSON string containing a mapping of remote files to local paths in your repository.\n\nFor example, if you'd like the file `from.md` in the `netlify/foobar` repository to map to the `to.md` path in your repository, the `files` should be:\n\n```\n{\"netlify/foobar#from.md\": \"to.md\"}\n```\n\n## Usage\n\nAdd the File Sync Action to a GitHub workflow:\n\n   ```yaml\n    on:\n      schedule:\n        - cron: '* * * * *'\n\n    jobs:\n      sync_files:\n        runs-on: ubuntu-latest\n        steps:\n          - name: Git checkout\n            uses: actions/checkout@v3\n          - name: File Sync\n            uses: netlify/file-sync-action@v1\n            with:\n              files: '{\"netlify/foobar#from.md\": \"to.md\"}'\n              token: ${{ secrets.GITHUB_TOKEN }}\n   ```\n\n## Contributors\n\nPlease see [CONTRIBUTING.md](./CONTRIBUTING.md) for instructions on how to set up and work on this repository. Thanks\nfor contributing!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnetlify%2Ffile-sync-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnetlify%2Ffile-sync-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnetlify%2Ffile-sync-action/lists"}