{"id":16839796,"url":"https://github.com/at-wat/assets-sync-action","last_synced_at":"2026-03-08T11:34:04.195Z","repository":{"id":37030391,"uuid":"231703405","full_name":"at-wat/assets-sync-action","owner":"at-wat","description":"GitHub Action to deploy asset files to multiple repositories.","archived":false,"fork":false,"pushed_at":"2024-12-06T02:15:03.000Z","size":34,"stargazers_count":7,"open_issues_count":4,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-17T16:06:40.936Z","etag":null,"topics":["deployment","github-action"],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/at-wat.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":"2020-01-04T03:34:06.000Z","updated_at":"2023-04-12T03:36:02.000Z","dependencies_parsed_at":"2023-01-05T05:03:49.012Z","dependency_job_id":"b3fcf30b-43c7-4c7d-93b7-82a84da063e6","html_url":"https://github.com/at-wat/assets-sync-action","commit_stats":{"total_commits":38,"total_committers":3,"mean_commits":"12.666666666666666","dds":0.1578947368421053,"last_synced_commit":"717265ee90e71309198ae20548568cc696104420"},"previous_names":[],"tags_count":26,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/at-wat%2Fassets-sync-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/at-wat%2Fassets-sync-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/at-wat%2Fassets-sync-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/at-wat%2Fassets-sync-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/at-wat","download_url":"https://codeload.github.com/at-wat/assets-sync-action/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244912800,"owners_count":20530764,"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":["deployment","github-action"],"created_at":"2024-10-13T12:34:17.196Z","updated_at":"2026-03-08T11:34:04.187Z","avatar_url":"https://github.com/at-wat.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# assets-sync-action\n\nGitHub Action to deploy asset files to multiple repositories.\n\n## Inputs\n\u003cdl\u003e\n  \u003cdt\u003erepos\u003c/dt\u003e \u003cdd\u003eSpace separated list of target repository slugs. (required)\u003c/dd\u003e\n  \u003cdt\u003egithub_token\u003c/dt\u003e \u003cdd\u003eGitHub personal access token \u003cb\u003ewith write permission to the repos\u003c/b\u003e. Use \u003ca href=\"https://help.github.com/en/actions/automating-your-workflow-with-github-actions/creating-and-using-encrypted-secrets\"\u003eencrypted secrets\u003c/a\u003e. (required)\u003c/dd\u003e\n  \u003cdt\u003egit_user\u003c/dt\u003e \u003cdd\u003eUser name of commit author. (required)\u003c/dd\u003e\n  \u003cdt\u003egit_email\u003c/dt\u003e \u003cdd\u003eE-mail address of commit author. (required)\u003c/dd\u003e\n  \u003cdt\u003ecommit_message\u003c/dt\u003e \u003cdd\u003eCommit message of generated commits. Defaults to \u003ccode\u003eUpdate assets to %v\u003c/code\u003e. (\u003ccode\u003e%v\u003c/code\u003e: version tag string)\u003c/dd\u003e\n  \u003cdt\u003ebranch\u003c/dt\u003e \u003cdd\u003eBranch name to which the changes are committed. Defaults to \u003ccode\u003esync-assets-%v\u003c/code\u003e. (\u003ccode\u003e%v\u003c/code\u003e: version tag string)\u003c/dd\u003e\n  \u003cdt\u003eroot_dir\u003c/dt\u003e \u003cdd\u003eRoot directory of the assets for this job. Defaults to \u003ccode\u003eroot\u003c/code\u003e.\u003c/dd\u003e\n  \u003cdt\u003erm\u003c/dt\u003e \u003cdd\u003eFiles to be removed.\u003c/dd\u003e\n  \u003cdt\u003escript\u003c/dt\u003e \u003cdd\u003eBash script to run in target repo before committing. The \u003ccode\u003eASSETS_DIR\u003c/code\u003e environment variable points to the source assets directory.\u003c/dd\u003e\n  \u003cdt\u003edryrun\u003c/dt\u003e \u003cdd\u003eSet true to run the job without pushing.\u003c/dd\u003e\n  \u003cdt\u003eexclude_paths\u003c/dt\u003e \u003cdd\u003eSpace separated list of excluded path globs.\u003c/dd\u003e\n\u003c/dl\u003e\n\n## Directory structure\n\nThe repository using assets-sync-action must have `./root` directory.\nFiles in the `./root` will be deployed to the target repositories keeping its directory structure.\n\n```\n.\n├── .github\n│   └── workflows\n│       └── assets-sync.yml (see example section)\n└── root\n    ├── dir\n    │   └── another-file-to-be-deployed\n    └── file-to-be-deployed\n```\n\n## Example\n\nDeploy the files by adding `v0.0.0` style tag.\n\n```yaml\nname: assets-sync\non:\n  push:\n    tags:\n      - 'v[0-9]+.[0-9]+.[0-9]+'\n\njobs:\n  sync:\n    runs-on: ubuntu-latest\n    steps:\n      - name: checkout\n        uses: actions/checkout@v2\n      - name: sync\n        uses: at-wat/assets-sync-action@v0\n        with:\n          repos: @@owner/repo1@@ @@owner/repo2@@\n          git_user: @@MAINTAINER_NAME@@\n          git_email: @@MAINTAINER_EMAIL_ADDRESS@@\n          github_token: ${{ secrets.GITHUB_TOKEN_REPO }}\n```\n\nSee https://github.com/at-wat/.rospkg-assets for the working example.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fat-wat%2Fassets-sync-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fat-wat%2Fassets-sync-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fat-wat%2Fassets-sync-action/lists"}