{"id":17854170,"url":"https://github.com/cpcloud/compare-commits-action","last_synced_at":"2025-07-06T17:35:47.971Z","repository":{"id":36977561,"uuid":"394609479","full_name":"cpcloud/compare-commits-action","owner":"cpcloud","description":"Compare the differences between two commits","archived":false,"fork":false,"pushed_at":"2025-01-02T19:28:13.000Z","size":4207,"stargazers_count":2,"open_issues_count":5,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-01-02T20:28:59.066Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/cpcloud.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-08-10T10:18:11.000Z","updated_at":"2025-01-02T19:28:16.000Z","dependencies_parsed_at":"2024-03-16T20:47:42.203Z","dependency_job_id":"e611ba19-03d4-4dbc-8bd9-6550ced8ef86","html_url":"https://github.com/cpcloud/compare-commits-action","commit_stats":{"total_commits":2287,"total_committers":7,"mean_commits":326.7142857142857,"dds":0.5212068211630958,"last_synced_commit":"b5ce55fc63905809719de7f225100b76e9486d72"},"previous_names":[],"tags_count":58,"template":false,"template_full_name":"actions/typescript-action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cpcloud%2Fcompare-commits-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cpcloud%2Fcompare-commits-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cpcloud%2Fcompare-commits-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cpcloud%2Fcompare-commits-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cpcloud","download_url":"https://codeload.github.com/cpcloud/compare-commits-action/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":232374881,"owners_count":18513593,"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":"2024-10-28T00:42:03.293Z","updated_at":"2025-01-03T17:51:51.443Z","avatar_url":"https://github.com/cpcloud.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Compare the Differences Between Two Commits\n\nThis action will compare the differences in a commit range and generate a Markdown table that looks like this:\n\n| SHA256                                                                                                      | Commit Message                                                     | Pull Requests                                                                                 |\n| ----------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------ | --------------------------------------------------------------------------------------------- |\n| [`59be1f49`](https://github.com/nix-community/home-manager/commit/59be1f4983ee3689de3172716a6c7e95a6a37bb7) | `dunst: add option to read alternative configuration file (#2113)` | \u003cul\u003e\u003cli\u003e\u003ca href=\"https://github.com/nix-community/home-manager/pull/2113\"\u003e#2113\u003c/a\u003e\u003c/li\u003e\u003c/ul\u003e |\n\n## Usage in a GitHub workflow\n\n```yaml\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Compare commits\n        uses: cpcloud/compare-commits-action@v2.0.4\n        with:\n          owner: nix-community\n          repo: home-manager\n          basehead: A...B\n          token: ${{ secrets.GITHUB_TOKEN }}\n          verbose: true # this will print the markdown table to the console\n```\n\n## Inputs\n\n```yaml\ninputs:\n  owner:\n    required: true\n    description: \"The owner of the GitHub repository\"\n  repo:\n    required: true\n    description: \"The GitHub repository name\"\n  basehead:\n    required: true\n    description: \"The commit range to compare\"\n  token:\n    required: false\n    description: \"Access token to increase the rate limit for GitHub API requests\"\n  include-merge-commits:\n    required: false\n    description: \"Whether to show merge commits in the log\"\n    default: \"false\"\n  sha-length:\n    required: false\n    description: \"The short length of the SHA256 displayed in the output table\"\n    default: \"8\"\n  verbose:\n    required: false\n    description: \"Print the generated Markdown table to the console\"\n    default: \"false\"\n```\n\n## Outputs\n\n```yaml\noutputs:\n  differences:\n    description: \"A markdown formatted table of differences between two commits\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcpcloud%2Fcompare-commits-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcpcloud%2Fcompare-commits-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcpcloud%2Fcompare-commits-action/lists"}