{"id":18828812,"url":"https://github.com/nekonenene/gh-release-pr-generator","last_synced_at":"2025-10-15T03:49:30.506Z","repository":{"id":47135364,"uuid":"351887305","full_name":"nekonenene/gh-release-pr-generator","owner":"nekonenene","description":"Create main⏪develop Pull Request Automatically","archived":false,"fork":false,"pushed_at":"2025-08-09T23:19:10.000Z","size":10052,"stargazers_count":6,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"develop","last_synced_at":"2025-08-10T01:10:06.703Z","etag":null,"topics":["cli","creator","generator","git-flow","github","go","golang","pull-request","release-automation","release-helper"],"latest_commit_sha":null,"homepage":"","language":"Go","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/nekonenene.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-03-26T19:11:41.000Z","updated_at":"2025-08-09T23:19:14.000Z","dependencies_parsed_at":"2023-01-26T03:31:57.259Z","dependency_job_id":null,"html_url":"https://github.com/nekonenene/gh-release-pr-generator","commit_stats":null,"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"purl":"pkg:github/nekonenene/gh-release-pr-generator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nekonenene%2Fgh-release-pr-generator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nekonenene%2Fgh-release-pr-generator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nekonenene%2Fgh-release-pr-generator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nekonenene%2Fgh-release-pr-generator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nekonenene","download_url":"https://codeload.github.com/nekonenene/gh-release-pr-generator/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nekonenene%2Fgh-release-pr-generator/sbom","scorecard":{"id":679032,"data":{"date":"2025-08-11","repo":{"name":"github.com/nekonenene/gh-release-pr-generator","commit":"5f889d31004270cf350f4c55a12cc39af7fb99a5"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.6,"checks":[{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Maintained","score":1,"reason":"2 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 1","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Code-Review","score":0,"reason":"Found 0/16 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release_page.yml:11: update your workflow using https://app.stepsecurity.io/secureworkflow/nekonenene/gh-release-pr-generator/release_page.yml/develop?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release_page.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/nekonenene/gh-release-pr-generator/release_page.yml/develop?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release_page.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/nekonenene/gh-release-pr-generator/release_page.yml/develop?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release_pr.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/nekonenene/gh-release-pr-generator/release_pr.yml/develop?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release_pr.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/nekonenene/gh-release-pr-generator/release_pr.yml/develop?enable=pin","Warn: npmCommand not pinned by hash: .github/workflows/release_page.yml:27","Warn: goCommand not pinned by hash: .github/workflows/release_pr.yml:19","Info:   0 out of   5 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 npmCommand dependencies pinned","Info:   0 out of   1 goCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/release_page.yml:1","Warn: no topLevel permission defined: .github/workflows/release_pr.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE.txt:0","Info: FSF or OSI recognized license: MIT License: LICENSE.txt:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact v1.7.3 not signed: https://api.github.com/repos/nekonenene/gh-release-pr-generator/releases/85616580","Warn: release artifact v1.7.2 not signed: https://api.github.com/repos/nekonenene/gh-release-pr-generator/releases/85616122","Warn: release artifact v1.7.1 not signed: https://api.github.com/repos/nekonenene/gh-release-pr-generator/releases/85616043","Warn: release artifact v1.7.0 not signed: https://api.github.com/repos/nekonenene/gh-release-pr-generator/releases/85615439","Warn: release artifact v1.6.0 not signed: https://api.github.com/repos/nekonenene/gh-release-pr-generator/releases/85612282","Warn: release artifact v1.7.3 does not have provenance: https://api.github.com/repos/nekonenene/gh-release-pr-generator/releases/85616580","Warn: release artifact v1.7.2 does not have provenance: https://api.github.com/repos/nekonenene/gh-release-pr-generator/releases/85616122","Warn: release artifact v1.7.1 does not have provenance: https://api.github.com/repos/nekonenene/gh-release-pr-generator/releases/85616043","Warn: release artifact v1.7.0 does not have provenance: https://api.github.com/repos/nekonenene/gh-release-pr-generator/releases/85615439","Warn: release artifact v1.6.0 does not have provenance: https://api.github.com/repos/nekonenene/gh-release-pr-generator/releases/85612282"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 26 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":0,"reason":"17 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GO-2022-0968 / GHSA-gwc9-m7rh-j2ww","Warn: Project is vulnerable to: GO-2021-0356 / GHSA-8c26-wmh5-6g9v","Warn: Project is vulnerable to: GO-2024-2961","Warn: Project is vulnerable to: GO-2023-2402 / GHSA-45x7-px36-x8w8","Warn: Project is vulnerable to: GO-2024-3321 / GHSA-v778-237x-gjrc","Warn: Project is vulnerable to: GO-2025-3487 / GHSA-hcg3-q754-cr77","Warn: Project is vulnerable to: GO-2022-1144 / GHSA-xrjj-mj9h-534m","Warn: Project is vulnerable to: GO-2023-1571 / GHSA-vvpx-j8f3-3w6h","Warn: Project is vulnerable to: GO-2023-1988 / GHSA-2wrh-6pvc-2jm9","Warn: Project is vulnerable to: GO-2023-2102 / GHSA-4374-p667-p6c8","Warn: Project is vulnerable to: GHSA-qppj-fm5r-hxr3","Warn: Project is vulnerable to: GO-2024-2687 / GHSA-4v7x-pqxf-cx7m","Warn: Project is vulnerable to: GO-2024-3333","Warn: Project is vulnerable to: GO-2025-3503 / GHSA-qxp5-gwg8-xv66","Warn: Project is vulnerable to: GO-2025-3595 / GHSA-vvgc-356p-c3xw","Warn: Project is vulnerable to: GO-2025-3488 / GHSA-6v2p-p543-phr9","Warn: Project is vulnerable to: GO-2024-2611 / GHSA-8r3f-844c-mc37"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-21T22:29:59.351Z","repository_id":47135364,"created_at":"2025-08-21T22:29:59.351Z","updated_at":"2025-08-21T22:29:59.351Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279044510,"owners_count":26091825,"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-10-15T02:00:07.814Z","response_time":56,"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":["cli","creator","generator","git-flow","github","go","golang","pull-request","release-automation","release-helper"],"created_at":"2024-11-08T01:37:07.353Z","updated_at":"2025-10-15T03:49:30.469Z","avatar_url":"https://github.com/nekonenene.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GitHub Release PullRequest Generator\n\nThis CLI app supports you to follow **git-flow** and create a **release pull request**.  \n(**Release pull request** means a pull request which the base branch is the release branch like `main`.)\n\nThis app fetches pull requests which merged into the development branch, and generates new pull request would merge into the release branch. If the pull request already exists, it updates the title and the body of that.\n\n\u003cp align=\"center\"\u003e\n  \u003cimg width=\"80%\" alt=\"Screenshot of the Release Pull Request\" src=\"https://user-images.githubusercontent.com/11713748/112718623-90307480-8f37-11eb-8139-a9bbf9b81ab1.png\"\u003e\n\u003c/p\u003e\n\n\n## Installation\n\n```sh\ngo install github.com/nekonenene/gh-release-pr-generator@v1\n```\n\n\n## Usage\n\nFirst, you need to get GitHub API Token to control your repository, please see [here](https://docs.github.com/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token).  \nThe token needs the write-access permission of pull requests.\n\n### Example\n\n```sh\ngh-release-pr-generator --token 123456789abcd123456789abcd --repo-owner nekonenene --repo-name my-repository-name --head-branch staging --base-branch production\n```\n\n### Parameters\n\n| Parameter | Description | Required? |\n|:---:|:---:|:---:|\n|-token| GitHub API Token | YES |\n|-repo-owner| Repository owner name | YES |\n|-repo-name| Repository name | YES |\n|-base-branch\u003cbr\u003e(-prod-branch)| Release branch name (default: `main`) |  |\n|-head-branch\u003cbr\u003e(-dev-branch)| Development branch name (default: `develop`) |  |\n|-template-path| PATH of the [template file](#template-file) |  |\n|-limit| Limit number of fetching pull requests (default: `100`) |  |\n|-enterprise-url| URL of GitHub Enterprise (ex. https://github.your.domain ) |  |\n\nAnd this command shows all parameters:\n\n```sh\ngh-release-pr-generator --help\n```\n\n### Template File\n\nYou can customize the title and the body of the release pull request. Create a template file and specific that with `-template-path` option.\n\nThe first line of the template will be the title, and the rest will be the body.\n\n#### Example\n\n```\nRelease {{ .Year }}-{{ .Month }}-{{ .Date }} {{ .Hour }}:{{ .Minute }}\n# Pull Requests\n{{ range $i, $pull := .Pulls }}\n* {{ $pull.Title }} (#{{ $pull.Number }}) @{{ $pull.User.Login }}\n{{- end }}\n```\n\n#### Parameters for Template File\n\n| Paramter | Description |\n|:---:|:---:|\n| Year | Current Year (ex. `2006`) |\n| YearShort | Current Year (ex. `06`) |\n| Month | Current Month (ex. `01`) |\n| MonthShort | Current Month (ex. `1`) |\n| Date | Current Date (ex. `02`) |\n| DateShort | Current Date (ex. `2`) |\n| Weekday | Current Weekday (ex. `Monday`) |\n| WeekdayShort | Current Weekday (ex. `Mon`) |\n| Hour | Current Hour (ex. `03`) |\n| HourShort | Current Hour (ex. `3`) |\n| Minute | Current Minute (ex. `04`) |\n| MinuteShort | Current Minute (ex. `4`) |\n| Second | Current Second (ex. `05`) |\n| SecondShort | Current Second (ex. `5`) |\n| Time | Current [Time](https://golang.org/pkg/time/#Time) |\n| Pulls | [Pull Requests](https://github.com/google/go-github/blob/master/github/pulls.go) Array |\n\n\n### Run with GitHub Actions\n\nThe following is an example of the config file for [GitHub Actions](https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions).\n\n```yml\nname: Generate Release Pull Request\non:\n  push:\n    branches:\n      - develop\njobs:\n  gh-release-pr-generator:\n    name: gh-release-pr-generator\n    runs-on: ubuntu-latest\n    env:\n      TZ: Asia/Tokyo\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-go@v3\n        with:\n          go-version: ^1.19.4\n      - name: Install gh-release-pr-generator\n        run: go install github.com/nekonenene/gh-release-pr-generator@v1\n      - name: Run gh-release-pr-generator\n        run: gh-release-pr-generator --token ${{ secrets.GITHUB_TOKEN }} --repo-owner ${{ github.repository_owner }} --repo-name ${{ github.event.repository.name }} --dev-branch develop --prod-branch main\n```\n\n\n## Build\n\n```sh\nmake build\n```\n\n\n## License\n\n[MIT](https://choosealicense.com/licenses/mit/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnekonenene%2Fgh-release-pr-generator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnekonenene%2Fgh-release-pr-generator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnekonenene%2Fgh-release-pr-generator/lists"}