{"id":5995451,"name":"dmsi-io/gha-pull-request","ecosystem":"actions","description":"This action will facilitate adding feature branch URLs to Pull Requests and Jira Tickets","homepage":"","licenses":null,"normalized_licenses":[],"repository_url":"https://github.com/dmsi-io/gha-pull-request","keywords_array":["action","github-actions","jira"],"namespace":"dmsi-io","versions_count":12,"first_release_published_at":"2021-12-28T16:47:51.000Z","latest_release_published_at":"2022-12-09T21:14:10.000Z","latest_release_number":"v1.2.6","last_synced_at":"2026-02-20T05:20:11.059Z","created_at":"2023-01-27T00:41:19.626Z","updated_at":"2026-09-20T18:48:38.239Z","registry_url":"https://github.com/dmsi-io/gha-pull-request","install_command":null,"documentation_url":null,"metadata":{"name":"Pull Request Actions","description":"This action will facilitate adding feature branch URLs to Pull Requests and Jira Tickets","inputs":{"GHA_ACCESS_TOKEN":{"description":"GitHub Actions Access Token","required":false},"GHA_ACCESS_USER":{"description":"GitHub Actions Access Username","required":false},"branch_name":{"description":"Branch Name","required":false},"JIRA_BASE_URL":{"description":"Link to hosted Jira instance","required":false},"JIRA_USER_EMAIL":{"description":"User email to use for managing Jira API","required":false},"JIRA_API_TOKEN":{"description":"API Token to authorize Jira","required":false},"allow-repeats":{"description":"Allow messages to be repeated.","required":false,"default":"false"},"url":{"description":"URL to use in feature branch PR comment","required":false,"default":""},"endpoint":{"description":"Endpoint to append to the feature branch URL","required":false}},"runs":{"using":"composite","steps":[{"name":"Get Branch Name","id":"branch","run":"import os\nenv_file = os.getenv('GITHUB_OUTPUT')\n\nbranch = \"\"\nif len(\"${{ inputs.branch_name }}\") \u003e 0:\n  branch = \"${{ inputs.branch_name }}\".upper()\nelif \"${{ github.event_name }}\" == \"pull_request\":\n  branch = \"${{ github.head_ref }}\".upper()\nelif \"${{ github.event_name }}\" == \"push\":\n  branch = \"${{ github.ref_name }}\".upper()\n\nwith open(env_file, \"a\") as output_file:\n  output_file.write(\"branch_name=%s\" % branch)\n","shell":"python","env":{"GITHUB_OUTPUT":"$GITHUB_OUTPUT"}},{"name":"Extract Issue Tags","id":"issues","uses":"Renddslow/prepare-branch-commit@v1","with":{"branch-name":"${{ steps.branch.outputs.branch_name }}"}},{"name":"Prepare Jira Links","id":"jira-links","run":"ISSUES=\"${{ steps.issues.outputs.issue-tags }}\"\nISSUE_STRING=\"\"\n\nif [ -n \"${{ inputs.JIRA_BASE_URL }}\" ]; then\n  for issue in ${ISSUES//,/ }\n  do\n    ISSUE_STRING+=\" [[$issue](${{ inputs.JIRA_BASE_URL }}/browse/$issue)]\"\n  done\nelse\n  ISSUE_STRING=\"$ISSUES\"\nfi\n\necho \"issue-string=$ISSUE_STRING\" \u003e\u003e $GITHUB_OUTPUT\n","shell":"bash"},{"name":"Prepare PR Comment","id":"pr-comment","run":"OUTPUT_STRING=\"\"\n\nif [ -n \"${{ steps.jira-links.outputs.issue-string }}\" ]; then\n  OUTPUT_STRING+=\"Jira Tickets: ${{ steps.jira-links.outputs.issue-string }}\"\nfi\n\nif [ -n \"${{ steps.jira-links.outputs.issue-string }}\" ] \u0026\u0026 [ -n \"${{ inputs.url }}\" ]; then\n  OUTPUT_STRING+=\"\u003cbr/\u003e\u003cbr/\u003e\"\nfi\n\nif [ -n \"${{ inputs.url }}\" ]; then\n  OUTPUT_STRING+=\"Feature Branch: ${{ inputs.url }}${{ inputs.endpoint }}\"\nfi\n\necho \"comment-string=$OUTPUT_STRING\" \u003e\u003e $GITHUB_OUTPUT\n","shell":"bash"},{"name":"Add PR comment","if":"steps.pr-comment.outputs.comment-string != ''","uses":"mshick/add-pr-comment@a65df5f64fc741e91c59b8359a4bc56e57aaf5b1","with":{"repo-token":"${{ inputs.GHA_ACCESS_TOKEN }}","allow-repeats":"${{ inputs.allow-repeats }}","message":"${{ steps.pr-comment.outputs.comment-string }}"}},{"name":"Continue with Jira Automation","if":"inputs.url != '' \u0026\u0026 inputs.JIRA_BASE_URL != '' \u0026\u0026 inputs.JIRA_USER_EMAIL != '' \u0026\u0026 inputs.JIRA_API_TOKEN != '' \u0026\u0026 steps.issues.outputs.issue-tags != ''","id":"jira","run":"echo \"continue=true\" \u003e\u003e $GITHUB_OUTPUT","shell":"bash"},{"name":"Jira Login","if":"steps.jira.outputs.continue == 'true'","uses":"atlassian/gajira-login@90a599561baaf8c05b080645ed73db7391c246ed","env":{"JIRA_BASE_URL":"${{ inputs.JIRA_BASE_URL }}","JIRA_USER_EMAIL":"${{ inputs.JIRA_USER_EMAIL }}","JIRA_API_TOKEN":"${{ inputs.JIRA_API_TOKEN }}"}},{"name":"Comment on issue","if":"steps.jira.outputs.continue == 'true'","uses":"dmsi-io/gajira-comment@v2","with":{"issue":"${{ steps.issues.outputs.issue-tags }}","comment":"Feature branch has been deployed at: ${{ inputs.url }}${{ inputs.endpoint }}","allow-repeats":"${{ inputs.allow-repeats }}"}}]},"default_branch":"main","path":null},"repo_metadata":{"uuid":"439389116","full_name":"dmsi-io/gha-pull-request","owner":"dmsi-io","description":"Comments on PRs and Jira with Story numbers and deployed URLs","archived":false,"fork":false,"pushed_at":"2022-12-09T21:14:51.000Z","size":34,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":12,"default_branch":"main","last_synced_at":"2023-07-12T15:51:24.787Z","etag":null,"topics":["action","github-actions","jira"],"latest_commit_sha":null,"homepage":"","language":null,"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/dmsi-io.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":".github/CODEOWNERS","security":null,"support":null}},"created_at":"2021-12-17T16:09:12.000Z","updated_at":"2022-07-28T19:08:38.000Z","dependencies_parsed_at":"2023-01-26T05:45:52.832Z","dependency_job_id":null,"html_url":"https://github.com/dmsi-io/gha-pull-request","commit_stats":{"total_commits":27,"total_committers":2,"mean_commits":13.5,"dds":"0.11111111111111116","last_synced_commit":"77994de2ceac3b71f1417e34f09794138baad39d"},"previous_names":[],"tags_count":12,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmsi-io%2Fgha-pull-request","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmsi-io%2Fgha-pull-request/tags","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmsi-io%2Fgha-pull-request/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dmsi-io","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":145715203,"owners_count":6279770,"icon_url":"https://github.com/github.png","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"},"owner_record":{"login":"dmsi-io","name":"DMSi","uuid":"94390030","kind":"organization","description":"","email":null,"website":"https://dmsi.com","location":"United States of America","twitter":null,"company":null,"icon_url":"https://avatars.githubusercontent.com/u/94390030?v=4","repositories_count":29,"last_synced_at":"2023-03-09T07:36:04.679Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/dmsi-io","created_at":"2022-11-18T20:55:45.485Z","updated_at":"2023-03-09T07:36:04.725Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dmsi-io","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dmsi-io/repositories"},"tags":[{"name":"v1.2.6","sha":"77994de2ceac3b71f1417e34f09794138baad39d","kind":"commit","published_at":"2022-12-09T21:14:10.000Z","download_url":"https://codeload.github.com/dmsi-io/gha-pull-request/tar.gz/v1.2.6","html_url":"https://github.com/dmsi-io/gha-pull-request/releases/tag/v1.2.6","dependencies_parsed_at":"2023-06-01T14:08:23.949Z","dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmsi-io%2Fgha-pull-request/tags/v1.2.6","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmsi-io%2Fgha-pull-request/tags/v1.2.6/manifests"},{"name":"v1.2.5","sha":"9199dc71b5db7b62bafd795b1781c5c319626234","kind":"commit","published_at":"2022-11-29T22:37:10.000Z","download_url":"https://codeload.github.com/dmsi-io/gha-pull-request/tar.gz/v1.2.5","html_url":"https://github.com/dmsi-io/gha-pull-request/releases/tag/v1.2.5","dependencies_parsed_at":"2023-06-01T14:08:24.481Z","dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmsi-io%2Fgha-pull-request/tags/v1.2.5","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmsi-io%2Fgha-pull-request/tags/v1.2.5/manifests"},{"name":"v1.2.4","sha":"613eca82fa5cc911c118ff818d3e7a31537d6ad2","kind":"commit","published_at":"2022-11-04T20:19:22.000Z","download_url":"https://codeload.github.com/dmsi-io/gha-pull-request/tar.gz/v1.2.4","html_url":"https://github.com/dmsi-io/gha-pull-request/releases/tag/v1.2.4","dependencies_parsed_at":"2023-06-01T14:08:25.020Z","dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmsi-io%2Fgha-pull-request/tags/v1.2.4","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmsi-io%2Fgha-pull-request/tags/v1.2.4/manifests"},{"name":"v1.2.3","sha":"7da005f22a3300a866f7ff73eb8b1dac39e33b68","kind":"commit","published_at":"2022-10-26T15:17:12.000Z","download_url":"https://codeload.github.com/dmsi-io/gha-pull-request/tar.gz/v1.2.3","html_url":"https://github.com/dmsi-io/gha-pull-request/releases/tag/v1.2.3","dependencies_parsed_at":"2023-05-31T18:27:47.810Z","dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmsi-io%2Fgha-pull-request/tags/v1.2.3","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmsi-io%2Fgha-pull-request/tags/v1.2.3/manifests"},{"name":"v1.2.2","sha":"d0ad941f935ab1e6fb52a25b6713e14ae94f7e0d","kind":"commit","published_at":"2022-10-25T19:48:36.000Z","download_url":"https://codeload.github.com/dmsi-io/gha-pull-request/tar.gz/v1.2.2","html_url":"https://github.com/dmsi-io/gha-pull-request/releases/tag/v1.2.2","dependencies_parsed_at":"2023-05-31T18:27:49.716Z","dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmsi-io%2Fgha-pull-request/tags/v1.2.2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmsi-io%2Fgha-pull-request/tags/v1.2.2/manifests"},{"name":"v1.2.1","sha":"a0b18f109aa76cc9cc0dabb727312a6734ef92fe","kind":"commit","published_at":"2022-10-19T15:06:19.000Z","download_url":"https://codeload.github.com/dmsi-io/gha-pull-request/tar.gz/v1.2.1","html_url":"https://github.com/dmsi-io/gha-pull-request/releases/tag/v1.2.1","dependencies_parsed_at":"2023-05-31T18:27:50.161Z","dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmsi-io%2Fgha-pull-request/tags/v1.2.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmsi-io%2Fgha-pull-request/tags/v1.2.1/manifests"},{"name":"v1.2","sha":"574c36e2bfafca3955e7f81b40357973fbf78e74","kind":"tag","published_at":"2022-02-23T18:10:48.000Z","download_url":"https://codeload.github.com/dmsi-io/gha-pull-request/tar.gz/v1.2","html_url":"https://github.com/dmsi-io/gha-pull-request/releases/tag/v1.2","dependencies_parsed_at":"2023-05-31T10:25:07.757Z","dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmsi-io%2Fgha-pull-request/tags/v1.2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmsi-io%2Fgha-pull-request/tags/v1.2/manifests"},{"name":"v1.2.0","sha":"574c36e2bfafca3955e7f81b40357973fbf78e74","kind":"tag","published_at":"2022-02-23T18:10:48.000Z","download_url":"https://codeload.github.com/dmsi-io/gha-pull-request/tar.gz/v1.2.0","html_url":"https://github.com/dmsi-io/gha-pull-request/releases/tag/v1.2.0","dependencies_parsed_at":"2023-05-31T18:27:51.539Z","dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmsi-io%2Fgha-pull-request/tags/v1.2.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmsi-io%2Fgha-pull-request/tags/v1.2.0/manifests"},{"name":"v1.1.0","sha":"f81b631ee31b2fac8c330e94b2bb2887f0daa742","kind":"tag","published_at":"2022-01-03T23:05:13.000Z","download_url":"https://codeload.github.com/dmsi-io/gha-pull-request/tar.gz/v1.1.0","html_url":"https://github.com/dmsi-io/gha-pull-request/releases/tag/v1.1.0","dependencies_parsed_at":"2023-05-31T18:27:52.700Z","dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmsi-io%2Fgha-pull-request/tags/v1.1.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmsi-io%2Fgha-pull-request/tags/v1.1.0/manifests"},{"name":"v1.1","sha":"f81b631ee31b2fac8c330e94b2bb2887f0daa742","kind":"tag","published_at":"2022-01-03T23:05:13.000Z","download_url":"https://codeload.github.com/dmsi-io/gha-pull-request/tar.gz/v1.1","html_url":"https://github.com/dmsi-io/gha-pull-request/releases/tag/v1.1","dependencies_parsed_at":"2023-05-31T10:25:07.908Z","dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmsi-io%2Fgha-pull-request/tags/v1.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmsi-io%2Fgha-pull-request/tags/v1.1/manifests"},{"name":"v1","sha":"e9c6f12c6fa560c39ab11f22761a74b811e2a542","kind":"commit","published_at":"2021-12-28T16:47:51.000Z","download_url":"https://codeload.github.com/dmsi-io/gha-pull-request/tar.gz/v1","html_url":"https://github.com/dmsi-io/gha-pull-request/releases/tag/v1","dependencies_parsed_at":"2023-05-31T10:25:08.565Z","dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmsi-io%2Fgha-pull-request/tags/v1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmsi-io%2Fgha-pull-request/tags/v1/manifests"},{"name":"v1.0.0","sha":"e9c6f12c6fa560c39ab11f22761a74b811e2a542","kind":"commit","published_at":"2021-12-28T16:47:51.000Z","download_url":"https://codeload.github.com/dmsi-io/gha-pull-request/tar.gz/v1.0.0","html_url":"https://github.com/dmsi-io/gha-pull-request/releases/tag/v1.0.0","dependencies_parsed_at":"2023-05-31T18:27:53.186Z","dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmsi-io%2Fgha-pull-request/tags/v1.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmsi-io%2Fgha-pull-request/tags/v1.0.0/manifests"}]},"repo_metadata_updated_at":"2026-09-20T18:48:38.238Z","dependent_packages_count":0,"downloads":null,"downloads_period":null,"dependent_repos_count":3,"rankings":{"downloads":null,"dependent_repos_count":18.04468388527967,"dependent_packages_count":0.0,"stargazers_count":34.73617493265726,"forks_count":35.20202820472191,"docker_downloads_count":null,"average":21.99572175566471},"purl":"pkg:githubactions/dmsi-io/gha-pull-request","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/actions/dmsi-io/gha-pull-request","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/actions/dmsi-io/gha-pull-request","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/actions/dmsi-io/gha-pull-request/dependencies","status":"removed","funding_links":[],"critical":null,"issue_metadata":{"last_synced_at":"2023-08-09T09:58:38.561Z","issues_count":1,"pull_requests_count":8,"avg_time_to_close_issue":3599432.0,"avg_time_to_close_pull_request":121782.75,"issues_closed_count":1,"pull_requests_closed_count":8,"pull_request_authors_count":2,"issue_authors_count":1,"avg_comments_per_issue":0.0,"avg_comments_per_pull_request":2.375,"merged_pull_requests_count":8,"bot_issues_count":0,"bot_pull_requests_count":0,"past_year_issues_count":0,"past_year_pull_requests_count":3,"past_year_avg_time_to_close_issue":null,"past_year_avg_time_to_close_pull_request":66696.33333333333,"past_year_issues_closed_count":0,"past_year_pull_requests_closed_count":3,"past_year_pull_request_authors_count":1,"past_year_issue_authors_count":0,"past_year_avg_comments_per_issue":null,"past_year_avg_comments_per_pull_request":1.0,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":0,"past_year_merged_pull_requests_count":3},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/dmsi-io%2Fgha-pull-request/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/dmsi-io%2Fgha-pull-request/version_numbers","latest_version_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/dmsi-io%2Fgha-pull-request/latest_version","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/dmsi-io%2Fgha-pull-request/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/dmsi-io%2Fgha-pull-request/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/dmsi-io%2Fgha-pull-request/codemeta","maintainers":[]}