{"id":25527531,"url":"https://github.com/gotesttools/limgo-badge-action","last_synced_at":"2026-05-06T18:32:54.103Z","repository":{"id":65157718,"uuid":"569667179","full_name":"GoTestTools/limgo-badge-action","owner":"GoTestTools","description":"GitHub Action for limgo to generate badges showing the test coverage","archived":false,"fork":false,"pushed_at":"2022-12-14T09:24:30.000Z","size":118,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-15T14:47:28.023Z","etag":null,"topics":["badge-generator","github-actions","go","golang","test-coverage","testing"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/GoTestTools.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-11-23T10:52:13.000Z","updated_at":"2022-12-14T09:28:56.000Z","dependencies_parsed_at":"2023-01-04T12:33:30.633Z","dependency_job_id":null,"html_url":"https://github.com/GoTestTools/limgo-badge-action","commit_stats":{"total_commits":15,"total_committers":2,"mean_commits":7.5,"dds":"0.33333333333333337","last_synced_commit":"b59f1da689690e49142125fa6ad012310ef63931"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/GoTestTools/limgo-badge-action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GoTestTools%2Flimgo-badge-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GoTestTools%2Flimgo-badge-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GoTestTools%2Flimgo-badge-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GoTestTools%2Flimgo-badge-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GoTestTools","download_url":"https://codeload.github.com/GoTestTools/limgo-badge-action/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GoTestTools%2Flimgo-badge-action/sbom","scorecard":{"id":57111,"data":{"date":"2025-08-11","repo":{"name":"github.com/GoTestTools/limgo-badge-action","commit":"b59f1da689690e49142125fa6ad012310ef63931"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.1,"checks":[{"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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":0,"reason":"Found 0/15 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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":0,"reason":"license file not detected","details":["Warn: project does not have a license file"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'main'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"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-c2qf-rxjj-qqgw"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-15T00:58:51.187Z","repository_id":65157718,"created_at":"2025-08-15T00:58:51.187Z","updated_at":"2025-08-15T00:58:51.187Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272138562,"owners_count":24880128,"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","status":"online","status_checked_at":"2025-08-25T02:00:12.092Z","response_time":1107,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["badge-generator","github-actions","go","golang","test-coverage","testing"],"created_at":"2025-02-19T22:19:28.632Z","updated_at":"2026-05-06T18:32:54.062Z","avatar_url":"https://github.com/GoTestTools.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"./doc/gopher.png\" alt=\"limgo gopher\" /\u003e\n  \u003ch2 align=\"center\"\u003elimgo-badge-action\u003c/h3\u003e\n  \u003cp align=\"center\"\u003eShow your test coverage\u003c/p\u003e\n  \u003cp align=\"center\"\u003e\n    \u003ca href=\"https://github.com/GoTestTools/limgo-badge-action/releases/latest\"\u003e\u003cimg alt=\"GitHub release\" src=\"https://img.shields.io/github/release/GoTestTools/limgo-badge-action.svg?logo=github\u0026\"\u003e\u003c/a\u003e\n    \u003ca href=\"http://unlicense.org/\"\u003e\u003cimg alt=\"unlicense\" src=\"https://img.shields.io/badge/license-Unlicense-blue.svg\"\u003e\u003c/a\u003e\n  \u003c/p\u003e\n\u003c/p\u003e\n\n---\n\nThis action uses the coverage output from [limgo](https://github.com/GoTestTools/limgo) to generate a badge visualizing the achieved test coverage. It also pushes the badge to the specified `repository/branch` so that it can be integrated into any README via: \n```html\n\u003cimg src=\"https://\u003crepository\u003e/blob/\u003cbranch\u003e/\u003cbadge-name\u003e.png?raw=true\" alt=\"test coverge\" /\u003e\n```\n\nThe following sample badge is imported from the [GoTestTools/limgo](https://github.com/GoTestTools/limgo) repository: \n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://github.com/GoTestTools/limgo/blob/limgo-badge/limgo-badge.png?raw=true\" alt=\"test coverge\" /\u003e\n\u003c/p\u003e\n\n## Usage\n\nYou can use `limgo-badge-action` with the following configuration:\n\n```yaml\njobs:\n  build:\n    name: Test\n    runs-on: ubuntu-latest\n    steps:\n      # Checkout your project with git\n      - name: Checkout\n        uses: actions/checkout@v2\n\n      # Install Go on the VM running the action.\n      - name: Set up Go\n        uses: actions/setup-go@v2\n        with:\n          go-version: 1.19\n\n      # Run your tests with -coverprofile\n      - name: Run tests\n        run: |\n          go test ./... -coverprofile=test.cov\n        \n      # Run the test coverage check using the limgo-action and output the statistic file\n      - name: Run test coverage check\n        uses: GoTestTools/limgo-action@v1.0.0\n        with:\n          version: \"v0.0.0-beta\"\n          args: \"-coverfile=test.cov -outfile=covcheck.tmp -config=.limgo.json -v=3\"\n      \n      # Generate the badge only for commits on the main branch\n      - name: Generate test badge\n        if: github.ref == 'refs/heads/main'\n        uses: GoTestTools/limgo-badge-action@v1.0.0 \n        with:\n          # name of the limgo test coverage file\n          limgo_file: covcheck.tmp\n          # format of the limgo test coverage file\n          limgo_file_format: tab\n          # name of the badge\n          badge_name: limgo-badge.png\n          # repository where the generated badge is pushed to\n          repo: github.com/GoTestTools/limgo\n          # branch of the repository where the generated badge is pushed to (will be created if it doesn't exist)\n          branch: limgo-badge\n          # github token which is required to create and push to the repository\n          github_token: ${{ secrets.GH_TOKEN }}\n          # github user who owns the github_token\n          github_token_owner: engelmi\n          # flag to show the branch coverage in the generated badge\n          badge_enabled_branch: false\n          # flag to show the statement coverage in the generated badge\n          badge_enabled_stmt: false\n          # flag to show the line coverage in the generated badge\n          badge_enabled_lines: true\n```\n\nFor more information about `limgo` please see the [limgo](https://github.com/GoTestTools/limgo) repository.\n\nFor more information about `limgo-action` please see the [limgo-action](https://github.com/GoTestTools/limgo-action) repository.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgotesttools%2Flimgo-badge-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgotesttools%2Flimgo-badge-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgotesttools%2Flimgo-badge-action/lists"}