{"id":19834175,"url":"https://github.com/pyrbin/single-pr-updater","last_synced_at":"2026-05-05T14:04:22.947Z","repository":{"id":47577916,"uuid":"399115111","full_name":"pyrbin/single-pr-updater","owner":"pyrbin","description":"Creates \u0026 updates a single pull request by given branch targets \u0026 label","archived":false,"fork":false,"pushed_at":"2021-08-27T14:13:50.000Z","size":236,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-04T20:57:31.180Z","etag":null,"topics":["github","github-actions","node","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/pyrbin.png","metadata":{"files":{"readme":"README.md","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-08-23T13:31:23.000Z","updated_at":"2024-09-25T17:18:42.000Z","dependencies_parsed_at":"2023-01-11T17:22:59.787Z","dependency_job_id":null,"html_url":"https://github.com/pyrbin/single-pr-updater","commit_stats":{"total_commits":17,"total_committers":1,"mean_commits":17.0,"dds":0.0,"last_synced_commit":"02b1b54de96a254fa6f9bac452c132e040e00f91"},"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/pyrbin/single-pr-updater","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyrbin%2Fsingle-pr-updater","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyrbin%2Fsingle-pr-updater/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyrbin%2Fsingle-pr-updater/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyrbin%2Fsingle-pr-updater/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pyrbin","download_url":"https://codeload.github.com/pyrbin/single-pr-updater/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyrbin%2Fsingle-pr-updater/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262423262,"owners_count":23308890,"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","node","typescript"],"created_at":"2024-11-12T12:03:28.476Z","updated_at":"2025-10-28T18:34:29.865Z","avatar_url":"https://github.com/pyrbin.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🔗 Single PR Updater\n\nSingle PR Updater (`TODO: better name`) is a GitHub action meant to be used together with [Release Drafter](https://github.com/release-drafter/release-drafter) to create \u0026 update a pull request for every release draft.\n\n## Example\n\n```yaml\njobs:\n  release_draft:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Run release drafter\n        uses: release-drafter/release-drafter@v5\n        id: release_drafter\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      - uses: pyrbin/single-pr-updater@latest\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        with:\n          label: 🚀 release\n          head: develop\n          base: main\n          title: Release ${{ steps.release_drafter.outputs.tag }}\n          body: |\n            ## [Release ${{ steps.release_drafter.outputs.tag }}](${{ steps.release_drafter.outputs.html_url }})\n            ${{ steps.release_drafter.outputs.body }}\n          draft: false\n```\n\n## How it works\n\nSimply put it will query existing PR's by `input.base...input.head`, given label `input.label` \u0026 update it's\ntitle \u0026 body with given input. If no such PR exist a new one will be created instead.\n\nYou can think of `base + head + label` as the identifier.\n\n\n## Action Inputs\n\n|  Input    | Description\n|-----------|--------------\n| `label`   | The single label of the pull request\n| `head`    | The head of the pull request (ex `develop`)\n| `base`    | The base of the pull request (ex `main`)\n| `title`   | The title of the pull request\n| `body`    | The body of the pull request\n| `draft`   | If the pull request should be created as a draft\n\n## Action Outputs\n\n|  Output   | Description\n|-----------|--------------\n| `id`      | The ID of the pull request that was created.\n| `number`  | The pull number of the pull request that was created.\n\n\n## Developing\n\n### Install dependencies\n`pnpm i`\n\n### Building\n`pnpm build`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpyrbin%2Fsingle-pr-updater","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpyrbin%2Fsingle-pr-updater","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpyrbin%2Fsingle-pr-updater/lists"}