{"id":7855683,"name":"shiftEscape/commit-hash-verifier-action","ecosystem":"actions","description":"Verifies the validity of a commit hash from a specific branch","homepage":"https://github.com/marketplace/actions/commit-hash-verifier","licenses":"mit","normalized_licenses":["MIT"],"repository_url":"https://github.com/shiftEscape/commit-hash-verifier-action","keywords_array":["commit-hash-verifier","github-actions","open-source"],"namespace":"shiftEscape","versions_count":3,"first_release_published_at":"2023-06-26T15:39:06.000Z","latest_release_published_at":"2025-02-06T01:14:17.000Z","latest_release_number":"v1.0.1","last_synced_at":"2026-04-16T03:46:50.450Z","created_at":"2023-06-26T20:18:01.764Z","updated_at":"2026-04-16T03:46:50.451Z","registry_url":"https://github.com/shiftEscape/commit-hash-verifier-action","install_command":null,"documentation_url":null,"metadata":{"name":"Commit Hash Verifier","description":"Verifies the validity of a commit hash from a specific branch","author":"shiftEscape","branding":{"icon":"git-commit","color":"purple"},"inputs":{"commit-hash":{"description":"The commit hash to verify","required":true,"default":"${{ github.sha }}"},"branch-name":{"description":"The name of the branch to check the commit against","required":true,"default":"${{ github.ref }}"}},"outputs":{"valid_commit":{"description":"Indicates if the commit hash is valid","value":"${{ steps.verify-commit.outputs.valid_commit }}"}},"runs":{"using":"composite","steps":[{"name":"Verify commit hash","id":"verify-commit","shell":"bash","run":"branch_name=\"${{ inputs.branch-name }}\"\ncommit_id=\"${{ inputs.commit-hash }}\"\n\nif ! git rev-parse --quiet --verify \"${commit_id}\"; then\n  echo \"valid_commit=false\" \u003e\u003e $GITHUB_OUTPUT\n  echo \"Invalid commit hash: \\`$commit_id\\`\"\nelse\n  # Verify if the commit is on the specified branch\n  if ! git merge-base --is-ancestor \"${commit_id}\" \"${branch_name}\"; then\n    echo \"valid_commit=false\" \u003e\u003e $GITHUB_OUTPUT\n    echo \"Commit \\`$commit_id\\` not found on the branch \\`$branch_name\\`\"\n  else\n    echo \"valid_commit=true\" \u003e\u003e $GITHUB_OUTPUT\n    echo \"Commit \\`$commit_id\\` is valid on the branch \\`$branch_name\\`\"\n  fi\nfi\n"}]},"default_branch":"main","path":null},"repo_metadata":{"id":176505403,"uuid":"658800323","full_name":"shiftEscape/commit-hash-verifier-action","owner":"shiftEscape","description":"✅ Verifies the validity of a commit hash from a specific branch","archived":false,"fork":false,"pushed_at":"2025-02-06T01:27:02.000Z","size":14,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-06T02:29:00.179Z","etag":null,"topics":["commit-hash-verifier","github-actions","open-source"],"latest_commit_sha":null,"homepage":"https://github.com/marketplace/actions/commit-hash-verifier","language":null,"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/shiftEscape.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":"2023-06-26T14:11:22.000Z","updated_at":"2025-02-06T01:29:22.000Z","dependencies_parsed_at":null,"dependency_job_id":"f506f8c6-38cc-462e-8635-10c8e6131f10","html_url":"https://github.com/shiftEscape/commit-hash-verifier-action","commit_stats":null,"previous_names":["shiftescape/commit-hash-verifier-action"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shiftEscape%2Fcommit-hash-verifier-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shiftEscape%2Fcommit-hash-verifier-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shiftEscape%2Fcommit-hash-verifier-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shiftEscape%2Fcommit-hash-verifier-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shiftEscape","download_url":"https://codeload.github.com/shiftEscape/commit-hash-verifier-action/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237404761,"owners_count":19304689,"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"},"owner_record":{"login":"shiftEscape","name":"Alvin Bellero","uuid":"2888535","kind":"user","description":" 🇵🇭  Software Engineer","email":"","website":null,"location":"Singapore","twitter":null,"company":null,"icon_url":"https://avatars.githubusercontent.com/u/2888535?u=56e459062938a9c82eb88774b851594dc6f2ce32\u0026v=4","repositories_count":4,"last_synced_at":"2023-03-04T10:43:44.417Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/shiftEscape","funding_links":[],"total_stars":null,"followers":null,"following":null,"created_at":"2022-11-14T17:37:48.746Z","updated_at":"2023-03-04T10:43:44.422Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shiftEscape","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shiftEscape/repositories"},"tags":[{"name":"v1.0.1","sha":"a9bdb2f6d978f803440dfc8da9fbf6c7bf8078ba","kind":"commit","published_at":"2025-02-06T01:14:17.000Z","download_url":"https://codeload.github.com/shiftEscape/commit-hash-verifier-action/tar.gz/v1.0.1","html_url":"https://github.com/shiftEscape/commit-hash-verifier-action/releases/tag/v1.0.1","dependencies_parsed_at":null,"dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shiftEscape%2Fcommit-hash-verifier-action/tags/v1.0.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shiftEscape%2Fcommit-hash-verifier-action/tags/v1.0.1/manifests"},{"name":"v1.0.0","sha":"51592262699d08a8e598a07c6975844de9592743","kind":"commit","published_at":"2023-06-26T16:05:01.000Z","download_url":"https://codeload.github.com/shiftEscape/commit-hash-verifier-action/tar.gz/v1.0.0","html_url":"https://github.com/shiftEscape/commit-hash-verifier-action/releases/tag/v1.0.0","dependencies_parsed_at":"2023-06-28T01:14:34.393Z","dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shiftEscape%2Fcommit-hash-verifier-action/tags/v1.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shiftEscape%2Fcommit-hash-verifier-action/tags/v1.0.0/manifests"},{"name":"v1","sha":"05ee62db974e3976f771c4c1167d9a0f2946b643","kind":"tag","published_at":"2023-06-26T15:39:06.000Z","download_url":"https://codeload.github.com/shiftEscape/commit-hash-verifier-action/tar.gz/v1","html_url":"https://github.com/shiftEscape/commit-hash-verifier-action/releases/tag/v1","dependencies_parsed_at":"2023-06-28T01:14:34.670Z","dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shiftEscape%2Fcommit-hash-verifier-action/tags/v1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shiftEscape%2Fcommit-hash-verifier-action/tags/v1/manifests"}]},"repo_metadata_updated_at":"2025-02-06T02:31:39.414Z","dependent_packages_count":0,"downloads":null,"downloads_period":null,"dependent_repos_count":0,"rankings":{"downloads":null,"dependent_repos_count":35.5855708539098,"dependent_packages_count":0.0,"stargazers_count":27.413026419042634,"forks_count":34.911861856951305,"docker_downloads_count":null,"average":24.477614782475936},"purl":"pkg:githubactions/shiftEscape/commit-hash-verifier-action","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/actions/shiftEscape/commit-hash-verifier-action","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/actions/shiftEscape/commit-hash-verifier-action","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/actions/shiftEscape/commit-hash-verifier-action/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":null,"versions_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/shiftEscape%2Fcommit-hash-verifier-action/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/shiftEscape%2Fcommit-hash-verifier-action/version_numbers","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/shiftEscape%2Fcommit-hash-verifier-action/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/shiftEscape%2Fcommit-hash-verifier-action/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/shiftEscape%2Fcommit-hash-verifier-action/codemeta","maintainers":[]}