{"id":16252396,"url":"https://github.com/remarkablemark/sync-branch","last_synced_at":"2026-05-17T17:33:48.109Z","repository":{"id":222038497,"uuid":"756076191","full_name":"remarkablemark/sync-branch","owner":"remarkablemark","description":"🤖 Sync local branches with GitHub Actions.","archived":false,"fork":false,"pushed_at":"2026-04-23T15:09:42.000Z","size":67,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-04-23T17:15:32.492Z","etag":null,"topics":["actions","branch","ci","composite","continuous-integration","github","github-action","github-actions","sync","sync-branches"],"latest_commit_sha":null,"homepage":"https://github.com/marketplace/actions/sync-branch-github-action","language":null,"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/remarkablemark.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":["remarkablemark"],"patreon":"remarkablemark","open_collective":null,"ko_fi":"remarkablemark","tidelift":null,"community_bridge":null,"liberapay":"remarkablemark","issuehunt":null,"otechie":null,"buy_me_a_coffee":"remarkablemark","thanks_dev":"u/gh/remarkablemark","custom":["https://b.remarkabl.org/teespring"]}},"created_at":"2024-02-11T22:33:41.000Z","updated_at":"2026-04-23T15:10:27.000Z","dependencies_parsed_at":"2025-02-12T07:19:46.277Z","dependency_job_id":"b640cabb-5230-4fdd-b69a-46980f939e03","html_url":"https://github.com/remarkablemark/sync-branch","commit_stats":null,"previous_names":["remarkablemark/sync-branch"],"tags_count":12,"template":false,"template_full_name":"remarkablemark/github-actions-composite-template","purl":"pkg:github/remarkablemark/sync-branch","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/remarkablemark%2Fsync-branch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/remarkablemark%2Fsync-branch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/remarkablemark%2Fsync-branch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/remarkablemark%2Fsync-branch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/remarkablemark","download_url":"https://codeload.github.com/remarkablemark/sync-branch/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/remarkablemark%2Fsync-branch/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33147567,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-17T09:28:26.183Z","status":"ssl_error","status_checked_at":"2026-05-17T09:27:52.702Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["actions","branch","ci","composite","continuous-integration","github","github-action","github-actions","sync","sync-branches"],"created_at":"2024-10-10T15:13:33.264Z","updated_at":"2026-05-17T17:33:48.088Z","avatar_url":"https://github.com/remarkablemark.png","language":null,"funding_links":["https://github.com/sponsors/remarkablemark","https://patreon.com/remarkablemark","https://ko-fi.com/remarkablemark","https://liberapay.com/remarkablemark","https://buymeacoffee.com/remarkablemark","https://thanks.dev/u/gh/remarkablemark","https://b.remarkabl.org/teespring"],"categories":[],"sub_categories":[],"readme":"# sync-branch\n\n[![version](https://badgen.net/github/release/remarkablemark/sync-branch)](https://github.com/remarkablemark/sync-branch/releases)\n[![test](https://github.com/remarkablemark/sync-branch/actions/workflows/test.yml/badge.svg)](https://github.com/remarkablemark/sync-branch/actions/workflows/test.yml)\n[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)\n\n🤖 Sync local branches with GitHub Actions.\n\n\u003e [!NOTE]\n\u003e To use this action, make sure to enable **Settings** \u003e **Actions** \u003e **General** \u003e **Workflow permissions**:\n\u003e - [x] **Read and write permissions**\n\u003e - [x] **Allow GitHub Actions to create and approve pull requests**\n\n## Quick Start\n\nMerge `master` to `dev`:\n\n```yaml\non:\n  push:\n    branches:\n      - master\njobs:\n  sync-branch:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Sync Branch\n        uses: remarkablemark/sync-branch@v1\n        with:\n          base: dev\n```\n\n## Usage\n\nSync `staging` with `production` branch:\n\n```yaml\n- uses: remarkablemark/sync-branch@v1\n  with:\n    base: staging\n    head: production\n```\n\nSee [action.yml](action.yml)\n\n## Inputs\n\n### `base`\n\n**Required**: The base branch.\n\n```yaml\n- uses: remarkablemark/sync-branch@v1\n  with:\n    base: my-base-branch\n```\n\n### `head`\n\n**Optional**: The head branch. Defaults to the repository default branch (e.g., `master` or `main`).\n\n```yaml\n- uses: remarkablemark/sync-branch@v1\n  with:\n    base: my-base-branch\n    head: my-head-branch\n```\n\n### `merge`\n\n**Optional**: The merge method (`merge`, `squash`, `rebase`). Defaults to `merge`.\n\n```yaml\n- uses: remarkablemark/sync-branch@v1\n  with:\n    base: my-base-branch\n    merge: squash\n```\n\n### `title`\n\n**Optional**: The pull request title.\n\n```yaml\n- uses: remarkablemark/sync-branch@v1\n  with:\n    base: my-base-branch\n    title: My PR title\n```\n\n### `body`\n\n**Optional**: The pull request body.\n\n```yaml\n- uses: remarkablemark/sync-branch@v1\n  with:\n    base: my-base-branch\n    body: My PR body\n```\n\n### `delete-branch`\n\n**Optional**: Delete the local and remote branch after merge. Defaults to `false`.\n\n```yaml\n- uses: remarkablemark/sync-branch@v1\n  with:\n    base: my-base-branch\n    delete-branch: true\n```\n\n### `admin`\n\n**Optional**: Use administrator privileges to merge a pull request that does not meet requirements. Defaults to `false`.\n\n```yaml\n- uses: remarkablemark/sync-branch@v1\n  with:\n    base: my-base-branch\n    admin: true\n    token: ${{ secrets.PAT }}\n```\n\n\u003e [!NOTE]\n\u003e The [`token`](https://docs.github.com/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens) input must be set for `admin` to work.\n\n### `token`\n\n**Optional**: The GitHub token.\n\n```yaml\n- uses: remarkablemark/sync-branch@v1\n  with:\n    base: my-base-branch\n    token: ${{ secrets.GITHUB_TOKEN }}\n```\n\n## Examples\n\n- [remarkablemark/sync-branch-demo](https://github.com/remarkablemark/sync-branch-demo)\n\n## License\n\n[MIT](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fremarkablemark%2Fsync-branch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fremarkablemark%2Fsync-branch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fremarkablemark%2Fsync-branch/lists"}