{"id":18862580,"url":"https://github.com/zk-phi/auto-pr","last_synced_at":"2025-07-25T06:35:25.520Z","repository":{"id":37829812,"uuid":"344785713","full_name":"zk-phi/auto-pr","owner":"zk-phi","description":"GitHub Action which automatically creates PR to keep a branch in sync with another","archived":false,"fork":false,"pushed_at":"2023-01-23T03:10:33.000Z","size":1629,"stargazers_count":1,"open_issues_count":3,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-19T01:18:01.695Z","etag":null,"topics":["other"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zk-phi.png","metadata":{"files":{"readme":"Readme.markdown","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-03-05T11:13:17.000Z","updated_at":"2022-11-04T03:24:28.000Z","dependencies_parsed_at":"2023-02-12T20:15:27.014Z","dependency_job_id":null,"html_url":"https://github.com/zk-phi/auto-pr","commit_stats":{"total_commits":14,"total_committers":2,"mean_commits":7.0,"dds":0.2142857142857143,"last_synced_commit":"4167b9e3cd3aaa3e7c75b90f81c1125b1582773c"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zk-phi%2Fauto-pr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zk-phi%2Fauto-pr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zk-phi%2Fauto-pr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zk-phi%2Fauto-pr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zk-phi","download_url":"https://codeload.github.com/zk-phi/auto-pr/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239808125,"owners_count":19700440,"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":["other"],"created_at":"2024-11-08T04:35:01.920Z","updated_at":"2025-02-20T08:42:43.018Z","avatar_url":"https://github.com/zk-phi.png","language":"JavaScript","readme":"# Auto PR\n\nsuper simple GitHub Action which automatically creates PRs to keep a branch in sync with another\n\nBased on \"fork-sync\" action by tgymnich\n\n## How it works\n\n- check if another Auto-PR is already opened for the repo\n- if no Auto-PR is opened, try to open a PR to merge HEAD into BASE\n  - this fails if HEAD is not ahead of BASE\n\nHEAD branch can also be in a fork repo. This may be useful to keep a fork in sync with the original.\n\n## Configuration\n\nExample:\n\n```\nname: Auto PR\n\non:\n  workflow_dispatch:\n  schedule:\n    - cron: '0 0 * * *'\n\njobs:\n  sync:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: zk-phi/auto-pr@v0.1\n        with:\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n          base: 'master'\n          head: 'foo:master'\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzk-phi%2Fauto-pr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzk-phi%2Fauto-pr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzk-phi%2Fauto-pr/lists"}