{"id":5880385,"name":"we-cli/coverage-badge-action","ecosystem":"actions","description":"Badges for test results and code coverage","homepage":"https://github.com/marketplace/actions/coverage-badge","licenses":"mit","normalized_licenses":["MIT"],"repository_url":"https://github.com/we-cli/coverage-badge-action","keywords_array":["ci","coverage","github-actions","testing"],"namespace":"we-cli","versions_count":2,"first_release_published_at":"2022-10-21T15:25:07.000Z","latest_release_published_at":"2022-10-24T03:18:06.000Z","latest_release_number":"v1.0.1","last_synced_at":"2026-09-12T21:37:20.935Z","created_at":"2023-01-15T00:51:04.599Z","updated_at":"2026-09-19T07:16:15.713Z","registry_url":"https://github.com/we-cli/coverage-badge-action","install_command":null,"documentation_url":null,"metadata":{"name":"Coverage Badge","description":"Badges for test results and code coverage","branding":{"icon":"check-circle","color":"green"},"runs":{"using":"composite","steps":[{"name":"Get Values","id":"get-values","shell":"bash","run":"if [ -f \"coverage/coverage-summary.json\" ]; then\n  COV=$(node -p 't=require(`./coverage/coverage-summary.json`).total,Math.min(...`lines|statements|functions|branches`.split(`|`).map(k=\u003et[k].pct))')\nelif [ -f \"coverage.json\" ]; then\n  COV=$(python -c 'import json; print(json.load(open(\"coverage.json\"))[\"totals\"][\"percent_covered_display\"])')\nelse\n  echo \"Error: Neither coverage/coverage-summary.json nor coverage.json found.\"\n  exit 1\nfi\necho \"coverage=$COV\" \u003e\u003e $GITHUB_OUTPUT\n"},{"name":"Git Config","shell":"bash","run":"git config user.name github-actions[bot]\ngit config user.email 41898282+github-actions[bot]@users.noreply.github.com\n"},{"name":"Pick Deploy Branch","id":"pick-deploy-branch","shell":"bash","run":"IS_DEFAULT_BRANCH=${{ github.ref == format('refs/heads/{0}', github.event.repository.default_branch) }}\nDEPLOY_BRANCH=$([ \"$IS_DEFAULT_BRANCH\" = true ] \u0026\u0026 echo 'gh-pages' || echo 'gh-pages-debug')\necho \"deploy_branch=$DEPLOY_BRANCH\" \u003e\u003e $GITHUB_OUTPUT\nif git ls-remote --exit-code --heads origin $DEPLOY_BRANCH; then\n  echo \"Branch $DEPLOY_BRANCH exists.\"\nelse\n  git switch --orphan $DEPLOY_BRANCH\n  git commit --allow-empty -m \"Initial commit\"\n  git push -u origin $DEPLOY_BRANCH\n  echo \"Branch $DEPLOY_BRANCH created.\"\nfi\n"},{"name":"Checkout ${{ steps.pick-deploy-branch.outputs.deploy_branch }}","uses":"actions/checkout@v3","with":{"ref":"${{ steps.pick-deploy-branch.outputs.deploy_branch }}"}},{"name":"Create Badges","shell":"bash","env":{"COV":"${{ steps.get-values.outputs.coverage }}"},"run":"npm i -g badgen-cli\nCOLOR=$(node -p '+process.env.COV \u003e= 95 ? `green` : `orange`')\nbadgen -j coverage -s $COV% -c $COLOR \u003e $RUNNER_TEMP/coverage.svg\n"},{"name":"Deploy Badges","uses":"Wandalen/wretry.action@master","with":{"attempt_limit":3,"attempt_delay":2000,"command":"git fetch origin ${{ steps.pick-deploy-branch.outputs.deploy_branch }}\ngit reset --hard origin/${{ steps.pick-deploy-branch.outputs.deploy_branch }}\nmkdir -p badges\nmv $RUNNER_TEMP/coverage.svg badges/\ngit add badges/coverage.svg\ngit commit -m 'Update badges [skip ci]'\ngit push\n"}},{"name":"Checkout Back","uses":"actions/checkout@v3","with":{"ref":"${{ github.ref }}"}}]},"default_branch":"main","path":null},"repo_metadata":{"id":64003626,"uuid":"555318234","full_name":"we-cli/coverage-badge-action","owner":"we-cli","description":"Create a coverage badge via GitHub Actions","archived":false,"fork":false,"pushed_at":"2026-01-23T03:38:27.000Z","size":16,"stargazers_count":62,"open_issues_count":4,"forks_count":15,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-09-12T21:57:01.758Z","etag":null,"topics":["ci","coverage","github-actions","testing"],"latest_commit_sha":null,"homepage":"https://github.com/marketplace/actions/coverage-badge","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/we-cli.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"MIT-LICENSE.txt","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2022-10-21T10:48:41.000Z","updated_at":"2026-08-19T20:25:03.000Z","dependencies_parsed_at":"2024-01-22T03:26:35.611Z","dependency_job_id":"570910de-c5a5-43cc-a3b1-4d7e3463ad2f","html_url":"https://github.com/we-cli/coverage-badge-action","commit_stats":{"total_commits":3,"total_committers":1,"mean_commits":3.0,"dds":0.0,"last_synced_commit":"8f6b0bd1b727cde6212c8c62d3329c4aac09fec3"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/we-cli/coverage-badge-action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/we-cli%2Fcoverage-badge-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/we-cli%2Fcoverage-badge-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/we-cli%2Fcoverage-badge-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/we-cli%2Fcoverage-badge-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/we-cli","download_url":"https://codeload.github.com/we-cli/coverage-badge-action/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/we-cli%2Fcoverage-badge-action/sbom","scorecard":{"id":1242219,"data":{"date":"2026-01-12","repo":{"name":"github.com/we-cli/coverage-badge-action","commit":"8a0b6ee05f6dd0f294089cbe7a848452a2b43eef"},"scorecard":{"version":"v5.4.1-0.20260109214540-85483c21ffbb","commit":"85483c21ffbb0f125cf1d16aa53f283d574f4ca5"},"score":3.5,"checks":[{"name":"Code-Review","score":1,"reason":"Found 2/12 approved changesets -- score normalized to 1","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/85483c21ffbb0f125cf1d16aa53f283d574f4ca5/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/85483c21ffbb0f125cf1d16aa53f283d574f4ca5/docs/checks.md#dangerous-workflow"}},{"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/85483c21ffbb0f125cf1d16aa53f283d574f4ca5/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/85483c21ffbb0f125cf1d16aa53f283d574f4ca5/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/85483c21ffbb0f125cf1d16aa53f283d574f4ca5/docs/checks.md#packaging"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pytest.yml:7: update your workflow using https://app.stepsecurity.io/secureworkflow/we-cli/coverage-badge-action/pytest.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pytest.yml:10: update your workflow using https://app.stepsecurity.io/secureworkflow/we-cli/coverage-badge-action/pytest.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:7: update your workflow using https://app.stepsecurity.io/secureworkflow/we-cli/coverage-badge-action/test.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:8: update your workflow using https://app.stepsecurity.io/secureworkflow/we-cli/coverage-badge-action/test.yml/main?enable=pin","Warn: pipCommand not pinned by hash: .github/workflows/pytest.yml:17","Warn: pipCommand not pinned by hash: .github/workflows/pytest.yml:18","Warn: npmCommand not pinned by hash: .github/workflows/test.yml:14","Info:   0 out of   4 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   2 pipCommand dependencies pinned","Info:   0 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/85483c21ffbb0f125cf1d16aa53f283d574f4ca5/docs/checks.md#pinned-dependencies"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/pytest.yml:1","Warn: no topLevel permission defined: .github/workflows/test.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/85483c21ffbb0f125cf1d16aa53f283d574f4ca5/docs/checks.md#token-permissions"}},{"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/85483c21ffbb0f125cf1d16aa53f283d574f4ca5/docs/checks.md#cii-best-practices"}},{"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/85483c21ffbb0f125cf1d16aa53f283d574f4ca5/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/85483c21ffbb0f125cf1d16aa53f283d574f4ca5/docs/checks.md#vulnerabilities"}},{"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/85483c21ffbb0f125cf1d16aa53f283d574f4ca5/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: MIT-LICENSE.txt:0","Info: FSF or OSI recognized license: MIT License: MIT-LICENSE.txt:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/85483c21ffbb0f125cf1d16aa53f283d574f4ca5/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/85483c21ffbb0f125cf1d16aa53f283d574f4ca5/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/85483c21ffbb0f125cf1d16aa53f283d574f4ca5/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 5 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/85483c21ffbb0f125cf1d16aa53f283d574f4ca5/docs/checks.md#sast"}}]},"last_synced_at":"2026-01-23T21:28:23.946Z","repository_id":64003626,"created_at":"2026-01-23T21:28:23.946Z","updated_at":"2026-01-23T21:28:23.946Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":341189360,"owners_count":37414838,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-08-22T15:14:58.755Z","status":"online","status_checked_at":"2026-09-18T02:00:15.364Z","response_time":89,"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"},"owner_record":{"login":"we-cli","name":"we-cli","uuid":"110072644","kind":"organization","description":null,"email":null,"website":null,"location":null,"twitter":null,"company":null,"icon_url":"https://avatars.githubusercontent.com/u/110072644?v=4","repositories_count":14,"last_synced_at":"2023-08-07T01:55:17.361Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/we-cli","funding_links":[],"total_stars":null,"followers":null,"following":null,"created_at":"2022-11-06T17:54:50.293Z","updated_at":"2023-08-07T01:55:17.587Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/we-cli","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/we-cli/repositories"},"tags":[{"name":"v1.0.1","sha":"8f6b0bd1b727cde6212c8c62d3329c4aac09fec3","kind":"commit","published_at":"2022-10-24T03:18:06.000Z","download_url":"https://codeload.github.com/we-cli/coverage-badge-action/tar.gz/v1.0.1","html_url":"https://github.com/we-cli/coverage-badge-action/releases/tag/v1.0.1","dependencies_parsed_at":"2023-06-02T08:18:13.813Z","dependency_job_id":null,"purl":"pkg:github/we-cli/coverage-badge-action@v1.0.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/we-cli%2Fcoverage-badge-action/tags/v1.0.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/we-cli%2Fcoverage-badge-action/tags/v1.0.1/manifests"},{"name":"v1.0.0","sha":"036607c9d8a7d9d0e1b274e3157816b0c5b6c0b4","kind":"commit","published_at":"2022-10-21T15:25:07.000Z","download_url":"https://codeload.github.com/we-cli/coverage-badge-action/tar.gz/v1.0.0","html_url":"https://github.com/we-cli/coverage-badge-action/releases/tag/v1.0.0","dependencies_parsed_at":"2023-06-02T08:18:14.155Z","dependency_job_id":null,"purl":"pkg:github/we-cli/coverage-badge-action@v1.0.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/we-cli%2Fcoverage-badge-action/tags/v1.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/we-cli%2Fcoverage-badge-action/tags/v1.0.0/manifests"}]},"repo_metadata_updated_at":"2026-09-19T07:16:15.712Z","dependent_packages_count":0,"downloads":null,"downloads_period":null,"dependent_repos_count":2,"rankings":{"downloads":null,"dependent_repos_count":20.576770717794325,"dependent_packages_count":0.0,"stargazers_count":8.33782284899382,"forks_count":7.421961654254476,"docker_downloads_count":2.848993820313738,"average":7.837109808271272},"purl":"pkg:githubactions/we-cli/coverage-badge-action","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/actions/we-cli/coverage-badge-action","docker_dependents_count":1,"docker_downloads_count":206,"usage_url":"https://repos.ecosyste.ms/usage/actions/we-cli/coverage-badge-action","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/actions/we-cli/coverage-badge-action/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":{"last_synced_at":"2026-09-18T05:49:56.472Z","issues_count":4,"pull_requests_count":5,"avg_time_to_close_issue":568961.0,"avg_time_to_close_pull_request":10271825.0,"issues_closed_count":1,"pull_requests_closed_count":4,"pull_request_authors_count":4,"issue_authors_count":3,"avg_comments_per_issue":0.5,"avg_comments_per_pull_request":1.8,"merged_pull_requests_count":3,"bot_issues_count":0,"bot_pull_requests_count":0,"past_year_issues_count":0,"past_year_pull_requests_count":1,"past_year_avg_time_to_close_issue":null,"past_year_avg_time_to_close_pull_request":null,"past_year_issues_closed_count":0,"past_year_pull_requests_closed_count":0,"past_year_pull_request_authors_count":1,"past_year_issue_authors_count":0,"past_year_avg_comments_per_issue":null,"past_year_avg_comments_per_pull_request":1.0,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":0,"past_year_merged_pull_requests_count":0,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/we-cli%2Fcoverage-badge-action/issues","maintainers":[],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/we-cli%2Fcoverage-badge-action/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/we-cli%2Fcoverage-badge-action/version_numbers","latest_version_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/we-cli%2Fcoverage-badge-action/latest_version","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/we-cli%2Fcoverage-badge-action/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/we-cli%2Fcoverage-badge-action/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/we-cli%2Fcoverage-badge-action/codemeta","maintainers":[]}