{"id":20925109,"url":"https://github.com/gbh-tech/get-ticket-id-action","last_synced_at":"2026-04-11T06:42:17.973Z","repository":{"id":226075501,"uuid":"766251680","full_name":"gbh-tech/get-ticket-id-action","owner":"gbh-tech","description":"Gets the Jira ticket ID from a branch name used in a workflow.","archived":false,"fork":false,"pushed_at":"2025-11-15T23:02:21.000Z","size":75,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-30T13:02:30.653Z","etag":null,"topics":["action","branch","git","github","id","jira","ticket","utilities"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/gbh-tech.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT","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":"2024-03-02T18:44:01.000Z","updated_at":"2025-05-15T20:27:04.000Z","dependencies_parsed_at":null,"dependency_job_id":"32afedac-e40b-4c13-b09e-01ef4e380684","html_url":"https://github.com/gbh-tech/get-ticket-id-action","commit_stats":null,"previous_names":["gbh-tech/get-ticket-id-action"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/gbh-tech/get-ticket-id-action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gbh-tech%2Fget-ticket-id-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gbh-tech%2Fget-ticket-id-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gbh-tech%2Fget-ticket-id-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gbh-tech%2Fget-ticket-id-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gbh-tech","download_url":"https://codeload.github.com/gbh-tech/get-ticket-id-action/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gbh-tech%2Fget-ticket-id-action/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31671629,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-10T17:19:37.612Z","status":"online","status_checked_at":"2026-04-11T02:00:05.776Z","response_time":54,"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":["action","branch","git","github","id","jira","ticket","utilities"],"created_at":"2024-11-18T20:29:18.943Z","updated_at":"2026-04-11T06:42:17.947Z","avatar_url":"https://github.com/gbh-tech.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!-- omit in toc --\u003e\n# Get Ticket ID Action\n\n\u003c!-- omit in toc --\u003e\n## Content\n\n- [Overview](#overview)\n- [Usage](#usage)\n  - [Examples](#examples)\n\n## Overview\n\nThis GitHub Action facilitates getting the ticket ID from a branch name used\nin a workflow. If you have a branch with a similar name to:\n\n```text\nTK-123-fix-for-README-file\n```\n\nThis action will be able to output the string `TK-123`, then re-use it in your\nother workflow steps or jobs.\n\n## Usage\n\nSee [action.yml](action.yml) for more info about the action.\n\n```yaml\n- uses: gbh-tech/get-ticket-id-action@v1\n  with:\n    # Optional. Specifies the git ref to use to obtain the ticket ID.\n    # Defaults: github.head_ref, github.ref_name\n    ref: ''\n```\n\n\u003e 💡 Check the official documentation on the [github context] to learn more\n\u003e about the values of `github.head_ref` and `github.ref_name`.\n\n### Examples\n\n```yaml\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: gbh-tech/get-ticket-id-action@v1\n        id: get-ticket-id\n      - name: Show the discovered ticket ID\n        env:\n          TICKET_ID: ${{ steps.get-ticket-id.outputs.ticket-id }}\n        run: echo \"Ticket ID is ${TICKET_ID}\"\n```\n\n\u003c!-- References --\u003e\n[github context]: https://docs.github.com/en/actions/learn-github-actions/contexts#github-context\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgbh-tech%2Fget-ticket-id-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgbh-tech%2Fget-ticket-id-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgbh-tech%2Fget-ticket-id-action/lists"}