{"id":14985881,"url":"https://github.com/nadesskey/create-upstream-sync-pr-action","last_synced_at":"2026-02-14T11:07:38.521Z","repository":{"id":253379731,"uuid":"843167250","full_name":"nadesskey/create-upstream-sync-pr-action","owner":"nadesskey","description":"Create PR that sync upstream","archived":false,"fork":false,"pushed_at":"2024-08-17T03:43:28.000Z","size":330,"stargazers_count":0,"open_issues_count":8,"forks_count":0,"subscribers_count":0,"default_branch":"develop","last_synced_at":"2025-05-31T01:23:49.416Z","etag":null,"topics":["actions","fork","sync"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nadesskey.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":"2024-08-15T23:34:45.000Z","updated_at":"2024-08-17T03:37:46.000Z","dependencies_parsed_at":null,"dependency_job_id":"aa06881c-68f9-4cd0-a934-919bb67a4821","html_url":"https://github.com/nadesskey/create-upstream-sync-pr-action","commit_stats":{"total_commits":40,"total_committers":2,"mean_commits":20.0,"dds":0.09999999999999998,"last_synced_commit":"62cbd248e5431263fa0ad77daedbb7361ea33a53"},"previous_names":["nadesskey/create-upstram-sync-pr-action"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/nadesskey/create-upstream-sync-pr-action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nadesskey%2Fcreate-upstream-sync-pr-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nadesskey%2Fcreate-upstream-sync-pr-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nadesskey%2Fcreate-upstream-sync-pr-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nadesskey%2Fcreate-upstream-sync-pr-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nadesskey","download_url":"https://codeload.github.com/nadesskey/create-upstream-sync-pr-action/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nadesskey%2Fcreate-upstream-sync-pr-action/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274596067,"owners_count":25314021,"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","status":"online","status_checked_at":"2025-09-11T02:00:13.660Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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","fork","sync"],"created_at":"2024-09-24T14:11:49.593Z","updated_at":"2026-02-14T11:07:33.431Z","avatar_url":"https://github.com/nadesskey.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# create-upstream-sync-pr-action\nGitHub Action to fetch upstream on fork. This creates PR when changes detected.\n\n## Inputs\n\n| Name           | Description                                                                 | Required | Default                  |\n|----------------|-----------------------------------------------------------------------------|----------|--------------------------|\n| upstream-owner | The owner of the upstream repository. If a fork source is detected, it defaults to that. Otherwise, an error occurs if not set. | No       | Fork source or error     |\n| upstream-repo  | The name of the upstream repository. If a fork source is detected, it defaults to that. Otherwise, an error occurs if not set. | No       | Fork source or error     |\n| head           | The branch in the upstream repository to merge from (head).                  | Yes      | N/A                      |\n| base           | The branch in the current repository to merge into (base).                   | Yes      | N/A                      |\n| github-token   | GitHub token for authentication.                                             | No      | ${github.token}                      |\n\n## Outputs\n\n| Name   | Description                       |\n|--------|-----------------------------------|\n| pr-url | The URL of the created Pull Request. |\n\n## example\n[example.yml](https://github.com/nadesskey/create-upstream-sync-pr-action/blob/master/example.yml)\n\n## Sequence Diagram(s)\n```mermaid\nsequenceDiagram\n    participant User\n    participant GitHubAction\n    participant UpstreamRepo\n    participant Logger\n\n    User-\u003e\u003eGitHubAction: Trigger Sync Action\n    GitHubAction-\u003e\u003eLogger: Log Start\n    GitHubAction-\u003e\u003eUpstreamRepo: Fetch Changes\n    alt Changes Found\n        GitHubAction-\u003e\u003eGitHubAction: Create Pull Request\n        GitHubAction-\u003e\u003eLogger: Log Success\n    else No Changes\n        GitHubAction-\u003e\u003eLogger: Log No Changes\n    end\n```\n\n## alternatives\n- Bot strategy: https://github.com/wei/pull\n- fork-sync: https://github.com/tgymnich/fork-sync?tab=readme-ov-file\n  - That action source is more functionally\n  - I did not know it already existed, until I completed the first release\n  - DIFFERENCES:\n    - TEST before pr created and don't make PR if changes are conflict\n      - I think that you should be create new branch and mannualy merge when coflict.\n      - I have plan to autoclose action's auto-created PR when conflict detected.(Not implement yet.)\n\n- Fork-Sync-With-Upstream-action: https://github.com/aormsby/Fork-Sync-With-Upstream-action\n  - That is not reusable action, just example\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnadesskey%2Fcreate-upstream-sync-pr-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnadesskey%2Fcreate-upstream-sync-pr-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnadesskey%2Fcreate-upstream-sync-pr-action/lists"}