{"id":25253138,"url":"https://github.com/zgosalvez/github-actions-report-lcov","last_synced_at":"2026-05-23T02:13:37.113Z","repository":{"id":37072280,"uuid":"324058825","full_name":"zgosalvez/github-actions-report-lcov","owner":"zgosalvez","description":"A Github Action to report the code coverage from LCOV files","archived":false,"fork":false,"pushed_at":"2026-01-31T08:47:27.000Z","size":22473,"stargazers_count":85,"open_issues_count":23,"forks_count":60,"subscribers_count":4,"default_branch":"main","last_synced_at":"2026-01-31T21:43:05.286Z","etag":null,"topics":["actions","github","github-actions","lcov"],"latest_commit_sha":null,"homepage":"https://github.com/marketplace/actions/report-lcov","language":"JavaScript","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/zgosalvez.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":"zgosalvez"}},"created_at":"2020-12-24T03:45:08.000Z","updated_at":"2026-01-31T08:42:16.000Z","dependencies_parsed_at":"2023-12-17T02:25:29.348Z","dependency_job_id":"afb771f9-c8ae-4bf9-ac91-bb4b756a7dbb","html_url":"https://github.com/zgosalvez/github-actions-report-lcov","commit_stats":{"total_commits":175,"total_committers":10,"mean_commits":17.5,"dds":"0.20571428571428574","last_synced_commit":"36d3c061a43aff311c0b4c60d553029b666e2f40"},"previous_names":[],"tags_count":73,"template":false,"template_full_name":null,"purl":"pkg:github/zgosalvez/github-actions-report-lcov","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zgosalvez%2Fgithub-actions-report-lcov","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zgosalvez%2Fgithub-actions-report-lcov/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zgosalvez%2Fgithub-actions-report-lcov/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zgosalvez%2Fgithub-actions-report-lcov/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zgosalvez","download_url":"https://codeload.github.com/zgosalvez/github-actions-report-lcov/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zgosalvez%2Fgithub-actions-report-lcov/sbom","scorecard":{"id":1238221,"data":{"date":"2025-07-07","repo":{"name":"github.com/zgosalvez/github-actions-report-lcov","commit":"eda775f552bfb2bffbdedea26f19dfb8c24a1648"},"scorecard":{"version":"v5.2.1-18-gbb9c347d","commit":"bb9c347dff6349d986baab6578a46d68a5524c62"},"score":5.7,"checks":[{"name":"Maintained","score":6,"reason":"7 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 6","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/bb9c347dff6349d986baab6578a46d68a5524c62/docs/checks.md#maintained"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/bb9c347dff6349d986baab6578a46d68a5524c62/docs/checks.md#binary-artifacts"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/bb9c347dff6349d986baab6578a46d68a5524c62/docs/checks.md#packaging"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/ci.yml:1","Warn: no topLevel permission defined: .github/workflows/version.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/bb9c347dff6349d986baab6578a46d68a5524c62/docs/checks.md#token-permissions"}},{"name":"Code-Review","score":0,"reason":"Found 0/21 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/bb9c347dff6349d986baab6578a46d68a5524c62/docs/checks.md#code-review"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/bb9c347dff6349d986baab6578a46d68a5524c62/docs/checks.md#dangerous-workflow"}},{"name":"Security-Policy","score":4,"reason":"security policy file detected","details":["Info: security policy file detected: SECURITY.md:1","Warn: no linked content found","Info: Found disclosure, vulnerability, and/or timelines in security policy: SECURITY.md:1","Info: Found text in security policy: SECURITY.md:1"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/bb9c347dff6349d986baab6578a46d68a5524c62/docs/checks.md#security-policy"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/bb9c347dff6349d986baab6578a46d68a5524c62/docs/checks.md#cii-best-practices"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE.md:0","Info: FSF or OSI recognized license: MIT License: LICENSE.md:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/bb9c347dff6349d986baab6578a46d68a5524c62/docs/checks.md#license"}},{"name":"Pinned-Dependencies","score":10,"reason":"all dependencies are pinned","details":["Info:   4 out of   4 GitHub-owned GitHubAction dependencies pinned","Info:   4 out of   4 third-party GitHubAction dependencies pinned","Info:   1 out of   1 npmCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/bb9c347dff6349d986baab6578a46d68a5524c62/docs/checks.md#pinned-dependencies"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/bb9c347dff6349d986baab6578a46d68a5524c62/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/bb9c347dff6349d986baab6578a46d68a5524c62/docs/checks.md#branch-protection"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/bb9c347dff6349d986baab6578a46d68a5524c62/docs/checks.md#fuzzing"}},{"name":"SAST","score":10,"reason":"SAST tool is run on all commits","details":["Info: all commits (30) are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/bb9c347dff6349d986baab6578a46d68a5524c62/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":6,"reason":"4 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-h5c3-5r3r-rr8q","Warn: Project is vulnerable to: GHSA-rmvr-2pp2-xj38","Warn: Project is vulnerable to: GHSA-xx4v-prfh-6cgc","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/bb9c347dff6349d986baab6578a46d68a5524c62/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-09-27T05:45:46.568Z","repository_id":37072280,"created_at":"2025-09-27T05:45:46.568Z","updated_at":"2025-09-27T05:45:46.568Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29438996,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-14T05:24:35.651Z","status":"ssl_error","status_checked_at":"2026-02-14T05:24:34.830Z","response_time":53,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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","github","github-actions","lcov"],"created_at":"2025-02-12T04:20:17.278Z","updated_at":"2026-02-14T07:05:25.641Z","avatar_url":"https://github.com/zgosalvez.png","language":"JavaScript","funding_links":["https://github.com/sponsors/zgosalvez"],"categories":[],"sub_categories":[],"readme":"# GitHub Action — Report LCOV\n\nThis GitHub Action (written in JavaScript) allows you to leverage GitHub Actions to report the code coverage from LCOV files. This action includes:\n- Generating an HTML report as an artifact\n- Commenting on a pull request (if the workflow was triggered by this event)\n- Failing if a minimum coverage is not met\n\n## Usage\n### Pre-requisites\nCreate a workflow `.yml` file in your `.github/workflows` directory. An [example workflow](#common-workflow) is available below. For more information, reference the GitHub Help Documentation for [Creating a workflow file](https://help.github.com/en/articles/configuring-a-workflow#creating-a-workflow-file).\n\n### Inputs\nFor more information on these inputs, see the [Workflow syntax for GitHub Actions](https://docs.github.com/actions/reference/workflow-syntax-for-github-actions#jobsjob_idstepswith)\n\n- `coverage-files`: The coverage files to scan. For example, `coverage/lcov.*.info`\n- `artifact-name`: The GitHub artifact name of the generated HTML report. For example, `code-coverage-report`. _Note:_ When downloading, it will be extracted in an `html` directory. Optional. Default: `` (Skips uploading of artifacts)\n- `minimum-coverage`: The minimum coverage to pass the check. Optional. Default: `0` (always passes)\n- `github-token`: Set the `${{ secrets.GITHUB_TOKEN }}` token to have the action comment the coverage summary in the pull request. This token is provided by Actions (after setting permissions - see sample workflow below), you do not need to create your own token. Optional. Default: ``\n- `working-directory`: The working directory containing the source files referenced in the LCOV files. Optional. Default: `./`\n- `title-prefix`: A prefix before the title \"LCOV of commit...\". Optional. Default: ``\n- `additional-message`: Custom text appended to the code coverage comment in the pull request. Optional. Default: ``\n- `update-comment`: Set to `true` to update the previous code coverage comment if such exists. When set to `false`, a new comment is always created. Optional. Default: `false`\n\n### Outputs\n- `total-coverage`: The total coverage from scanned files.\n- `artifact-id`: The GitHub artifact id for the generated HTML report.\n\nSample comment:\n![Screenshot](assets/comment.png)\n\n### Common workflow\n\n```yaml\non: pull_request\n\nname: Continuous Integration\n\njobs:\n  coverage_report:\n    name: Generate coverage report\n    needs: testing\n    runs-on: ubuntu-latest\n    permissions:\n      pull-requests: write\n    steps:\n    - name: Checkout code\n      uses: actions/checkout@v2\n    # ... Generate LCOV files or download it from a different job\n    - name: Setup LCOV\n      uses: hrishikesh-kadam/setup-lcov@v1\n    - name: Report code coverage\n      uses: zgosalvez/github-actions-report-lcov@v4\n      with:\n        coverage-files: coverage/lcov.*.info\n        minimum-coverage: 90\n        artifact-name: code-coverage-report\n        github-token: ${{ secrets.GITHUB_TOKEN }}\n        working-directory: apps/my-first-app\n        update-comment: true\n```\n*Note:* Only the `pull_request` and `pull_request_target` events are supported. This action does nothing when triggered by other event types.\n\n### Flutter Workflows\n\nThis is used in my opinionated [GitHub Actions: Flutter Workflows](https://github.com/zgosalvez/github-actions-flutter-workflows) repository along with other actions for a complete end-to-end DevOps experience.\n\n## License\nThe scripts and documentation in this project are released under the [MIT License](LICENSE.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzgosalvez%2Fgithub-actions-report-lcov","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzgosalvez%2Fgithub-actions-report-lcov","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzgosalvez%2Fgithub-actions-report-lcov/lists"}