{"id":20468884,"url":"https://github.com/anolilab/template-sync-action","last_synced_at":"2025-06-25T19:34:05.146Z","repository":{"id":40273779,"uuid":"259277457","full_name":"anolilab/template-sync-action","owner":"anolilab","description":":arrows_counterclockwise: Github action to sync repository with a template repository","archived":false,"fork":false,"pushed_at":"2025-06-23T05:38:16.000Z","size":1665,"stargazers_count":12,"open_issues_count":23,"forks_count":4,"subscribers_count":3,"default_branch":"alpha","last_synced_at":"2025-06-23T06:30:53.160Z","etag":null,"topics":["github","github-actions","narrowspark","sync","template"],"latest_commit_sha":null,"homepage":null,"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/anolilab.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":".github/CONTRIBUTING.md ","funding":".github/FUNDING.yml","license":"LICENSE.md","code_of_conduct":".github/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},"funding":{"github":"prisis"}},"created_at":"2020-04-27T10:14:10.000Z","updated_at":"2023-03-01T10:48:34.000Z","dependencies_parsed_at":"2023-09-26T11:49:54.939Z","dependency_job_id":"5b84ddaa-0428-47fa-86f2-24df6db9f07c","html_url":"https://github.com/anolilab/template-sync-action","commit_stats":{"total_commits":95,"total_committers":6,"mean_commits":"15.833333333333334","dds":0.4736842105263158,"last_synced_commit":"ff5179de3d183c46b0f2fc0e4606241a11d23bf5"},"previous_names":["narrowspark/template-sync-action"],"tags_count":10,"template":false,"template_full_name":"actions/typescript-action","purl":"pkg:github/anolilab/template-sync-action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anolilab%2Ftemplate-sync-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anolilab%2Ftemplate-sync-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anolilab%2Ftemplate-sync-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anolilab%2Ftemplate-sync-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/anolilab","download_url":"https://codeload.github.com/anolilab/template-sync-action/tar.gz/refs/heads/alpha","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anolilab%2Ftemplate-sync-action/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261430382,"owners_count":23157158,"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":["github","github-actions","narrowspark","sync","template"],"created_at":"2024-11-15T14:07:07.388Z","updated_at":"2025-06-25T19:34:05.115Z","avatar_url":"https://github.com/anolilab.png","language":"TypeScript","funding_links":["https://github.com/sponsors/prisis"],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003eNarrowspark Template Sync Action\u003c/h1\u003e\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://codecov.io/gh/narrowspark/template-sync\"\u003e\u003cimg src=\"https://img.shields.io/codecov/c/github/narrowspark/template-sync-action/master.svg?style=flat-square\"\u003e\u003c/a\u003e\n    \u003ca href=\"https://github.com/narrowspark/template-sync-action/actions\"\u003e\u003cimg src=\"https://img.shields.io/github/workflow/status/narrowspark/template-sync-action/build-test/master?style=flat-square\"\u003e\u003c/a\u003e\n    \u003ca href=\"https://github.com/semantic-release/semantic-release\"\u003e\u003cimg src=\"https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=flat-square\"\u003e\u003c/a\u003e\n    \u003ca href=\"http://opensource.org/licenses/MIT\"\u003e\u003cimg src=\"https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\nThis [github action](https://github.com/features/actions) gives you the possibility to sync your repository with a [github template repository](https://docs.github.com/en/github/creating-cloning-and-archiving-repositories/creating-a-template-repository).\n\n---\n\n\u003cdiv align=\"center\"\u003e\n    \u003cp\u003e\n        \u003csup\u003e\n            Daniel Bannert's open source work is supported by the community on \u003ca href=\"https://github.com/sponsors/prisis\"\u003eGitHub Sponsors\u003c/a\u003e\n        \u003c/sup\u003e\n    \u003c/p\u003e\n\u003c/div\u003e\n\n---\n\n## Example Workflow\n```yml\nname: 'Template Sync'\n\non:\n  schedule:\n    - cron: '0 8 * * *'\n\njobs:\n  sync:\n\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v2\n      - uses: narrowspark/template-sync-action@v1\n        with:\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n          git_author_name: prisis\n          git_author_email: d.bannert@anolilab.de\n          template_repository: narrowspark/php-library-template\n          ref: refs/heads/master\n```\n\n## Usage\n\n\u003c!-- start usage --\u003e\n```yaml\n- uses: actions/template-sync@v1\n  with:\n    # Personal access token (PAT) used to fetch the repository. The PAT is configured\n    # with the local git config, which enables your scripts to run authenticated git\n    # commands. The post-job step removes the PAT. We recommend using a service\n    # account with the least permissions necessary. Also when generating a new PAT,\n    # select the least scopes necessary. [Learn more about creating and using\n    # encrypted secrets](https://help.github.com/en/actions/automating-your-workflow-with-github-actions/creating-and-using-encrypted-secrets)\n    # Default: ${{ github.token }}\n    github_token: ''\n\n    # SSH key used to fetch the repository. The SSH key is configured with the local\n    # git config, which enables your scripts to run authenticated git commands. The\n    # post-job step removes the SSH key. We recommend using a service account with the\n    # least permissions necessary. [Learn more about creating and using encrypted\n    # secrets](https://help.github.com/en/actions/automating-your-workflow-with-github-actions/creating-and-using-encrypted-secrets)\n    ssh-key: ''\n\n    # Known hosts in addition to the user and global host key database. The public SSH\n    # keys for a host may be obtained using the utility `ssh-keyscan`. For example,\n    # `ssh-keyscan github.com`. The public key for github.com is always implicitly\n    # added.\n    ssh-known-hosts: ''\n\n    # Whether to perform strict host key checking. When true, adds the options\n    # `StrictHostKeyChecking=yes` and `CheckHostIP=no` to the SSH command line. Use\n    # the input `ssh-known-hosts` to configure additional hosts.\n    # Default: true\n    ssh-strict: ''\n\n    # Whether to configure the token or SSH key with the local git config\n    # Default: true\n    persist-credentials: ''\n\n    # Includes your name to the commit\n    git_author_name: ''\n\n    # Includes your email to the commit\n    git_author_email: ''\n\n    # Owner of the current repository\n    owner: ''\n\n    # The current repository name\n    repo: ''\n\n    # The title of the pull request\n    pr_title: ''\n\n    # The message in the pull request\n    pr_message: ''\n\n    # The branch, tag or SHA to checkout. When checking out the repository that\n    # triggered a workflow, this defaults to the reference or SHA for that event.\n    # Otherwise, defaults to `master`.\n    ref: ''\n\n    template_repository: ''\n\n    # The branch, tag or SHA to checkout. When checking out the repository that\n    # triggered a workflow, this defaults to the reference or SHA for that event.\n    # Otherwise, defaults to `master`.\n    template_ref: ''\n\n    # Extend the default list with excluded files that shouldn't be synced.\n    ignore_list: ''\n```\n\u003c!-- end usage --\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanolilab%2Ftemplate-sync-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanolilab%2Ftemplate-sync-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanolilab%2Ftemplate-sync-action/lists"}