{"id":19594100,"url":"https://github.com/seriousben/go-patch-cover-action","last_synced_at":"2025-04-27T15:33:34.609Z","repository":{"id":43370382,"uuid":"444251094","full_name":"seriousben/go-patch-cover-action","owner":"seriousben","description":"Go Patch Coverage reporting on your Pull Requests","archived":false,"fork":false,"pushed_at":"2022-10-21T13:38:43.000Z","size":361,"stargazers_count":20,"open_issues_count":6,"forks_count":6,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-23T11:40:04.185Z","etag":null,"topics":["actions","coverage","golang"],"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/seriousben.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":null,"security":null,"support":null}},"created_at":"2022-01-04T01:39:33.000Z","updated_at":"2024-12-11T00:42:54.000Z","dependencies_parsed_at":"2023-01-05T13:22:16.449Z","dependency_job_id":null,"html_url":"https://github.com/seriousben/go-patch-cover-action","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seriousben%2Fgo-patch-cover-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seriousben%2Fgo-patch-cover-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seriousben%2Fgo-patch-cover-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seriousben%2Fgo-patch-cover-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/seriousben","download_url":"https://codeload.github.com/seriousben/go-patch-cover-action/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251162700,"owners_count":21545801,"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":["actions","coverage","golang"],"created_at":"2024-11-11T08:42:17.632Z","updated_at":"2025-04-27T15:33:29.588Z","avatar_url":"https://github.com/seriousben.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# go-patch-cover-action\n\nThis action runs [go-patch-cover](https://github.com/seriousben/go-patch-cover) to display test coverage for code changed within a pull request.\n\n![Comment example](docs/comment-example.png#gh-dark-mode-only)\n![Comment example](docs/comment-example-light.png#gh-light-mode-only)\n\n## Permissions\n\n- `pull-requests: write` for writing comments on pull requests.\n- `contents: write` for the git-notes prev_coverage_mode to maintain the coverage within git notes.\n\n## Usage\n\nJust add `seriousben/go-patch-cover-action` as a step in your existing workflow.\n\nA workflow might look like this:\n\n```yaml\nname: \"CI\"\n\non: [\"push\", \"pull_request\"]\n\npermissions:\n  contents: write\n  pull-requests: write\n\njobs:\n  ci:\n    name: \"Run CI\"\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v2\n    - uses: WillAbides/setup-go-faster@v1.7.0\n      with:\n        go-version: \"*\"\n    - run: \"go test -coverprofile=coverage.out -covermode=count ./...\"\n    - uses: seriousben/go-patch-cover-action@v1\n```\n\nPlease see [GitHub's documentation on Actions](https://docs.github.com/en/actions) for extensive\ndocumentation on how to write and tweak workflows.\n\n## Thanks\n\nThis project took inspiration from https://github.com/marocchino/sticky-pull-request-comment and from https://github.com/dominikh/staticcheck-action.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseriousben%2Fgo-patch-cover-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fseriousben%2Fgo-patch-cover-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseriousben%2Fgo-patch-cover-action/lists"}