{"id":17106037,"url":"https://github.com/grassedge/git-pr-release-action","last_synced_at":"2025-04-13T01:23:08.085Z","repository":{"id":42303669,"uuid":"231054423","full_name":"grassedge/git-pr-release-action","owner":"grassedge","description":"Create a pull-request for the production release.","archived":false,"fork":false,"pushed_at":"2024-02-12T09:37:31.000Z","size":1819,"stargazers_count":15,"open_issues_count":20,"forks_count":9,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-09T08:36:19.030Z","etag":null,"topics":["github-actions","pull-request","release"],"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/grassedge.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-12-31T08:20:50.000Z","updated_at":"2024-02-10T10:52:43.000Z","dependencies_parsed_at":"2024-06-20T23:25:56.823Z","dependency_job_id":null,"html_url":"https://github.com/grassedge/git-pr-release-action","commit_stats":{"total_commits":11,"total_committers":1,"mean_commits":11.0,"dds":0.0,"last_synced_commit":"74169c50b9d00129f56a4b03b3309a2ab392f587"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grassedge%2Fgit-pr-release-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grassedge%2Fgit-pr-release-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grassedge%2Fgit-pr-release-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grassedge%2Fgit-pr-release-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/grassedge","download_url":"https://codeload.github.com/grassedge/git-pr-release-action/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239774039,"owners_count":19694697,"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-actions","pull-request","release"],"created_at":"2024-10-14T15:43:47.783Z","updated_at":"2025-02-22T16:31:28.567Z","avatar_url":"https://github.com/grassedge.png","language":"JavaScript","readme":"# git-pr-release-action\n\nCreate a pull-request for the production release.\n\nIf your team adopts a workflow like 'GitLab flow', you may have two branches, such as production and pre-production (or staging and so on).\nThis action helps to list up pull-requests related to commits between production and pre-production. And creates (or updates) a new pull-request with the list in the body.\n\nThis action is inspired by [motemen/git-pr-release](https://github.com/motemen/git-pr-release) and [uiur/github-pr-release](https://github.com/uiur/github-pr-release).\n\n## Usage\n\nThis Action subscribes to Push events.\n\n```workflow\nname: Create a release pull-request\non:\n  push:\n    branches:\n      - pre-production\njobs:\n  release_pull_request:\n    runs-on: ubuntu-latest\n    name: release_pull_request\n    steps:\n      - name: checkout\n        uses: actions/checkout@v1\n      - name: create-release-pr\n        uses: grassedge/git-pr-release-action@v1.0\n        with:\n          base: production\n          head: pre-production\n          token: ${{ secrets.GITHUB_TOKEN }}\n          labels: a,b,c\n          assign: true\n```\n\n**input**\n\n- `owner`: Default is current reopsitory's owner.\n- `repo`: Default is current reopsitory's name.\n- `base`: **required** Base branch of the release pull-request.\n- `head`: **required** Head branch of the release pull-request. Typically, it is the same as a subscribed branch.\n- `assign`: If true, assign each pull-req's assignees to the release pull-req\n- `labels`: Labels that is added to the release pull-request\n- `template`: Path to the template you want to use.\n- `tz`: Used to generate the version string.\n- `token`: **required** `GITHUB_TOKEN` for creating a pull request.\n\nNote that this action uses the template file in your repository. So you need 'checkout' step if you specify template option.\n\n## Demo\n\n![](./docs/screenshot.png)\n\n## License\n\nThe scripts and documentation in this project are released under the [MIT License](LICENSE).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgrassedge%2Fgit-pr-release-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgrassedge%2Fgit-pr-release-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgrassedge%2Fgit-pr-release-action/lists"}