{"repo":"Chemaclass/create-pr","free":true,"listed":false,"github":"https://github.com/Chemaclass/create-pr","clone":"git clone https://github.com/Chemaclass/create-pr.git","description":"A bash script to create PR based on your branch and context.","language":"Shell","stars":14,"topics":["automation","bash","pull-requests"],"license":"MIT","category":"cli-tools","readme_excerpt":"create-pr A bash script that helps create your PRs. It normalizes the PR title, description, assignee by default, and initial label based on your branch name. Current support - GitHub requires https://cli.github.com/manual/gh pr create - GitLab requires https://gitlab.com/gitlab-org/cli/-/blob/main/docs/source/mr/create.md These are needed to access your client via the terminal, and they are independent of this script. Extra arguments Any additional argument will be passed to gh or glab tool. GitHub: https://cli.github.com/manual/gh pr create GitLab: https://gitlab.com/gitlab-org/cli/-/blob/main/docs/source/mr/create.md Installation You can download the latest single executable script on the Releases page or build it yourself. If you download the executable file from a release's GitHub project, you can check the file's checksum to validate that it was not altered. The checksum for each release is on each release on GitHub. To build the project yourself, execute the script ./build.sh and move the resulting bin/create-pr script wherever you want. How to use it? The script is customizable via .env variables. See .env.example. PR TEMPLATE PATH Define the path to locate the PR template. See template example. Example Placeholders - {{ TICKET LINK }} - Uses PR TICKET LINK PREFIX appending the ticket key and number to form the full URL - {{ BACKGROUND }} - if the link is found: Details in the ticket - if the link is not found: Provide some context to the reviewer before jumping in th","default_branch":null,"files":null,"tree":[],"storefront":"/r/Chemaclass","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Chemaclass/create-pr/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}