{"id":26109540,"url":"https://github.com/rwaskiewicz/ticket-header-from-git-branch","last_synced_at":"2026-04-18T22:32:37.236Z","repository":{"id":280912815,"uuid":"943530787","full_name":"rwaskiewicz/ticket-header-from-git-branch","owner":"rwaskiewicz","description":null,"archived":false,"fork":false,"pushed_at":"2025-03-06T00:39:10.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-11T01:47:28.023Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/rwaskiewicz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2025-03-05T21:21:54.000Z","updated_at":"2025-03-05T21:22:45.000Z","dependencies_parsed_at":"2025-03-06T13:45:19.269Z","dependency_job_id":null,"html_url":"https://github.com/rwaskiewicz/ticket-header-from-git-branch","commit_stats":null,"previous_names":["rwaskiewicz/ticket-header-from-git-branch"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rwaskiewicz/ticket-header-from-git-branch","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rwaskiewicz%2Fticket-header-from-git-branch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rwaskiewicz%2Fticket-header-from-git-branch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rwaskiewicz%2Fticket-header-from-git-branch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rwaskiewicz%2Fticket-header-from-git-branch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rwaskiewicz","download_url":"https://codeload.github.com/rwaskiewicz/ticket-header-from-git-branch/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rwaskiewicz%2Fticket-header-from-git-branch/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31987826,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T20:23:30.271Z","status":"ssl_error","status_checked_at":"2026-04-18T20:23:29.375Z","response_time":103,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2025-03-09T23:11:55.366Z","updated_at":"2026-04-18T22:32:37.211Z","avatar_url":"https://github.com/rwaskiewicz.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Tickety Cricket\n\nThis repo contains a `commit-msg` hook for finding a string at the beginning of a git branch name and placing it in a git trailer.\n\n## What It Does\n\nFor a git branch with the name `dx-1111/feat/add-cool-thing`, this hook parses the branch name, and adds the ticket value to the git message as a trailer.\n\n```bash\n$ git checkout -b dx-1111/feat/add-cool-thing\n$ echo \"Hello World\" \u003e README.md\n$ git add README.md\n$ git commit -m 'Add Hello World README'\n$ git log HEAD\n\n    Add Hello World README\n\n    Ticket: DX-1111\n```\n\n## Goals\n\n1. Adding ticketing info to commit messages with minimal friction\n2. This hook shall never stop a commit from occurring\n3. Minimal configuration. It's meant to be forked, checked into your repo, and modified to fit your needs.\n\n## Installation\n\nThis hook requires bash and Node to be installed locally.\n\n### MacOS, Linux\n\nCopy `commit-msg` and `commit-msg.mjs` to a git repository you wish to run these hooks in and give the executable permissions:\n```bash\n$ cp commit-msg commit-msg.mjs /path/to/repo/.git/hooks/\n$ chmod +x commit-msg commit-msg.mjs\n```\n\n## Limitations\n\nThis hook assumes that tickets are of the format PREFIX + NUMERICS - e.g. `RAD-1000`, `MT0001`, `DX-1`.\nThe default prefix is `DX-`.\nIf you wish for different behavior, fork and modify this script.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frwaskiewicz%2Fticket-header-from-git-branch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frwaskiewicz%2Fticket-header-from-git-branch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frwaskiewicz%2Fticket-header-from-git-branch/lists"}