{"id":21223223,"url":"https://github.com/renddslow/prepare-branch-commit","last_synced_at":"2025-07-08T17:35:58.604Z","repository":{"id":42523427,"uuid":"238054551","full_name":"Renddslow/prepare-branch-commit","owner":"Renddslow","description":null,"archived":false,"fork":false,"pushed_at":"2024-01-31T20:09:02.000Z","size":284,"stargazers_count":1,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-21T12:05:20.029Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/Renddslow.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":"2020-02-03T20:23:45.000Z","updated_at":"2023-03-04T05:20:54.000Z","dependencies_parsed_at":"2024-06-21T17:40:54.033Z","dependency_job_id":"3179b533-c53e-4b66-b1fd-219858f34468","html_url":"https://github.com/Renddslow/prepare-branch-commit","commit_stats":{"total_commits":58,"total_committers":9,"mean_commits":6.444444444444445,"dds":0.7068965517241379,"last_synced_commit":"b680751884880202942ec8c26158a46febb5d1b9"},"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"purl":"pkg:github/Renddslow/prepare-branch-commit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Renddslow%2Fprepare-branch-commit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Renddslow%2Fprepare-branch-commit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Renddslow%2Fprepare-branch-commit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Renddslow%2Fprepare-branch-commit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Renddslow","download_url":"https://codeload.github.com/Renddslow/prepare-branch-commit/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Renddslow%2Fprepare-branch-commit/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264315096,"owners_count":23589706,"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":[],"created_at":"2024-11-20T22:50:40.893Z","updated_at":"2025-07-08T17:35:58.577Z","avatar_url":"https://github.com/Renddslow.png","language":"TypeScript","readme":"# prepare-branch-commit\n\n\u003e Add text to commits based on Jira ticket numbers in the branch name.\n\n## Install\n\n```\n$ yarn add --dev prepare-branch-commit\n```\n\n## Usage\n\nprepare-branch-commit is meant to be run as a Husky hook:\n\n**From Husky v7+**\n\n```bash\nnpx husky add .husky/prepare-commit-msg 'npx --no-install prepare-branch-commit \"$(echo $)1\"'\n```\n\n**Husky v4 and below**\n\n```json\n{\n  // ...\n  \"husky\": {\n    \"prepare-commit-msg\": \"prepare-branch-commit\"\n  }\n  // ...\n}\n```\n\n## Usage Examples\n\n```\nbranch name: feature/ABC-123-new-screen\ncommit prefix: [ABC-123]\n\nbranch name: hotfix/FUN-456-ABC-123-bugfix-time\ncommit prefix: [ABC-123] [FUN-456]\n```\n\n# GitHub Action Usage\n\nThe primary issue tag extraction step can also be used during GitHub Actions to extract issue tags to use as input for other steps. Default usage as follows:\n\n```yaml\nsteps:\n  - name: Extract Issue Tags\n    id: issues-default # usage: ${{ steps.issues-default.outputs.issue-tags }}\n    uses: Renddslow/prepare-branch-commit@v1.0.1\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frenddslow%2Fprepare-branch-commit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frenddslow%2Fprepare-branch-commit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frenddslow%2Fprepare-branch-commit/lists"}