{"id":24505151,"url":"https://github.com/levigo/github-action-glix","last_synced_at":"2025-07-11T15:34:53.927Z","repository":{"id":39373177,"uuid":"506908452","full_name":"levigo/github-action-glix","owner":"levigo","description":"This action extracts all Jira issue keys from a certain git commit and its relevant parents","archived":false,"fork":false,"pushed_at":"2024-07-16T10:53:04.000Z","size":1363,"stargazers_count":0,"open_issues_count":1,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-04T13:46:13.053Z","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":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/levigo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2022-06-24T06:52:07.000Z","updated_at":"2022-06-24T07:20:44.000Z","dependencies_parsed_at":"2024-11-21T05:34:40.175Z","dependency_job_id":null,"html_url":"https://github.com/levigo/github-action-glix","commit_stats":{"total_commits":3,"total_committers":1,"mean_commits":3.0,"dds":0.0,"last_synced_commit":"9d453df620568cceeed42e521268083195c7113b"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/levigo/github-action-glix","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/levigo%2Fgithub-action-glix","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/levigo%2Fgithub-action-glix/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/levigo%2Fgithub-action-glix/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/levigo%2Fgithub-action-glix/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/levigo","download_url":"https://codeload.github.com/levigo/github-action-glix/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/levigo%2Fgithub-action-glix/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264841421,"owners_count":23671896,"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":"2025-01-21T23:28:52.148Z","updated_at":"2025-07-11T15:34:52.681Z","avatar_url":"https://github.com/levigo.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GLIX Action – the Git Log Identifier eXtractor\r\n\r\nThis action extracts all Jira issue keys from a certain git commit and its relevant parents\r\n\r\nThe regex is based on [Atlassian Documentation](https://confluence.atlassian.com/stashkb/integrating-with-custom-jira-issue-key-313460921.html).\r\n\r\n## Inputs\r\n- `commitId`: the ID (sha) of the relevant commit\r\n- `mainBranch`: the main branch of the repo (e.g. \"master\" or \"main\")\r\n- `baseDir`: (optional) the path of the git repo to use\r\n\r\n## Outputs\r\n- `issueKeys`: the found Jira issue keys from all commit messages separated by a comma (e.g. `TEST-1,TEST-2`)\r\n\r\n## Usage\r\n\r\nMost of you probably use \"actions/checkout@v2\" (or v3) to checkout the repo in the action run.\r\nBy default that action uses a `fetch-depth` of 1, so only the last commit is fetched. \r\nThis plugin \"walks\" the repository so we need more commits. Therefore\r\nyou have to define a higher `fetch-depth` so we have a certain git history.\r\nA good value for example would be 30. Values higher than 50 don't make sense\r\nas the plugin caps logs to 50 elements.\r\n\r\n### Example usage\r\n```yaml\r\n- uses: actions/checkout@v3\r\n  with:\r\n    fetch-depth: '30'\r\n- uses: levigo/github-action-glix@v1.0\r\n  id: glix\r\n  with:\r\n    commitId: \"my-company.atlassian.net\"\r\n    mainBranch: \"master\"\r\n```\r\n\r\n#### Usage with \"Jira create and set fix version\"\r\n\r\nHere is an example on how to extract the `issueKey` from the commit messages and set the same fix version \r\nfor all those Jira issues.\r\n\r\n```yaml\r\n  - uses: actions/checkout@v3\r\n    with:\r\n      fetch-depth: '30'\r\n\r\n  - uses: levigo/github-action-glix@v1.0\r\n    id: glix\r\n    with:\r\n      commitId: ${{ github.sha }}\r\n      mainBranch: \"master\"\r\n\r\n  - uses: levigo/github-action-jira-fixversion@v1.0\r\n    with:\r\n      domain: \"my-company.atlassian.net\"\r\n      username: \"technical-user@company.net\"\r\n      password: \"fmpUJkGhdKFvoTJclsZ03xw1\"\r\n      versionName: \"1.0.5\"\r\n      versionDescription: \"Continuous Delivery Version\"\r\n      issueKeys: ${{ steps.glix.outputs.issueKeys }}\r\n```\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flevigo%2Fgithub-action-glix","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flevigo%2Fgithub-action-glix","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flevigo%2Fgithub-action-glix/lists"}