{"id":16414632,"url":"https://github.com/mattlqx/pre-commit-sign","last_synced_at":"2025-03-23T06:31:25.907Z","repository":{"id":56461121,"uuid":"137237175","full_name":"mattlqx/pre-commit-sign","owner":"mattlqx","description":"A plugin for pre-commit to sign commit messages with a hash.","archived":false,"fork":false,"pushed_at":"2024-03-23T18:48:08.000Z","size":26,"stargazers_count":5,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-04-23T20:54:26.805Z","etag":null,"topics":["pre-commit"],"latest_commit_sha":null,"homepage":null,"language":"Ruby","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/mattlqx.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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":"2018-06-13T15:47:47.000Z","updated_at":"2024-03-23T18:47:37.000Z","dependencies_parsed_at":"2024-10-11T06:54:41.635Z","dependency_job_id":"bf43ee0b-ee7a-4567-85a0-426195a6af8c","html_url":"https://github.com/mattlqx/pre-commit-sign","commit_stats":{"total_commits":14,"total_committers":3,"mean_commits":4.666666666666667,"dds":0.1428571428571429,"last_synced_commit":"88722cc7aee85e681ac8e6ed512835329c37b768"},"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattlqx%2Fpre-commit-sign","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattlqx%2Fpre-commit-sign/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattlqx%2Fpre-commit-sign/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattlqx%2Fpre-commit-sign/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mattlqx","download_url":"https://codeload.github.com/mattlqx/pre-commit-sign/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245066496,"owners_count":20555402,"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":["pre-commit"],"created_at":"2024-10-11T06:54:39.827Z","updated_at":"2025-03-23T06:31:25.319Z","avatar_url":"https://github.com/mattlqx.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pre-commit-sign\n\nThis is a plugin for [pre-commit](https://pre-commit.com) that will sign your commit messages with a sha256 hash to allow for other systems to verify pre-commit has been run. This is not meant as a high-barrier to ensure pre-commit was run with a specific set of rules, only as a simple way to ensure committers are aware they need to run pre-commit prior to pushing.\n\n### Usage\n\nTo sign commits as part of your pre-commit flow, just run the sign-commit hook of this repo. Note that you **must** have pre-commit installed as a commit-msg hook in order for this to run.\n\n    - repo: https://github.com/mattlqx/pre-commit-sign\n      rev: v1.2.0\n      hooks:\n      - id: sign-commit\n\nIf you would like to verify the signature of a commit, you can use the gem:\n\n    require 'pre-commit-sign'\n    pcs = PrecommitSign.from_message(commit_message)\n    pcs.date = Time.at(12345678)\n    pcs.valid_signature?\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmattlqx%2Fpre-commit-sign","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmattlqx%2Fpre-commit-sign","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmattlqx%2Fpre-commit-sign/lists"}