{"id":30379204,"url":"https://github.com/akwodkiewicz/simple-pr-stats","last_synced_at":"2026-05-16T01:34:34.061Z","repository":{"id":42497710,"uuid":"476036797","full_name":"akwodkiewicz/simple-pr-stats","owner":"akwodkiewicz","description":"Calculate simple PR statistics in your repository using GitHub Actions","archived":false,"fork":false,"pushed_at":"2022-04-02T14:24:52.000Z","size":8584,"stargazers_count":2,"open_issues_count":2,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-04-28T04:04:59.928Z","etag":null,"topics":["github-actions","pull-requests","simple","statistics"],"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/akwodkiewicz.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-03-30T20:13:39.000Z","updated_at":"2024-05-20T18:24:56.000Z","dependencies_parsed_at":"2023-01-05T04:50:28.411Z","dependency_job_id":null,"html_url":"https://github.com/akwodkiewicz/simple-pr-stats","commit_stats":{"total_commits":32,"total_committers":1,"mean_commits":32.0,"dds":0.0,"last_synced_commit":"2b5749cde597529ae1afcd7dc80c569f767aa596"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/akwodkiewicz/simple-pr-stats","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akwodkiewicz%2Fsimple-pr-stats","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akwodkiewicz%2Fsimple-pr-stats/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akwodkiewicz%2Fsimple-pr-stats/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akwodkiewicz%2Fsimple-pr-stats/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/akwodkiewicz","download_url":"https://codeload.github.com/akwodkiewicz/simple-pr-stats/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akwodkiewicz%2Fsimple-pr-stats/sbom","scorecard":{"id":177018,"data":{"date":"2025-08-11","repo":{"name":"github.com/akwodkiewicz/simple-pr-stats","commit":"2b5749cde597529ae1afcd7dc80c569f767aa596"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.8,"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":"Code-Review","score":0,"reason":"Found 0/12 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":"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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/jest.yml:1","Warn: no topLevel permission defined: .github/workflows/self-on-demand.yml:1","Warn: no topLevel permission defined: .github/workflows/self-on-pull.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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"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":"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":"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 'master'"],"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":"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/jest.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/akwodkiewicz/simple-pr-stats/jest.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/self-on-demand.yml:11: update your workflow using https://app.stepsecurity.io/secureworkflow/akwodkiewicz/simple-pr-stats/self-on-demand.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/self-on-pull.yml:11: update your workflow using https://app.stepsecurity.io/secureworkflow/akwodkiewicz/simple-pr-stats/self-on-pull.yml/master?enable=pin","Info:   0 out of   3 GitHub-owned GitHubAction 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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"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":"Vulnerabilities","score":6,"reason":"4 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-7r3h-m5j6-3q42","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"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 22 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-16T17:53:59.776Z","repository_id":42497710,"created_at":"2025-08-16T17:53:59.776Z","updated_at":"2025-08-16T17:53:59.776Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33087028,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-15T20:25:35.270Z","status":"ssl_error","status_checked_at":"2026-05-15T20:25:34.732Z","response_time":103,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["github-actions","pull-requests","simple","statistics"],"created_at":"2025-08-20T19:30:13.979Z","updated_at":"2026-05-16T01:34:34.051Z","avatar_url":"https://github.com/akwodkiewicz.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# simple-pr-stats\n\nCalculate simple PR statistics in your repository.\n\n## Output\n\nThe stats contain:\n\n- average time of PR completion\n- minimum time of PR completion (with a link to the PR)\n- maximum time of PR completion (with a link to the PR)\n\nThe information is shown as workflow run annotations in the _Actions_ tab and (optionally) in the _Pull Request_ view (if a `pull_request` trigger was chosen to run the action).\n\n## Inputs\n\n### `token`\n\n**Required** Your workflow `GITHUB_TOKEN`, allowing access to GitHub API\n\n### `labels_to_ignore`\n\nComma-delimited list of labels to ignore.\nThe stats will ignore all the PRs that are marked with any of the provided labels.\n\n### `days_back`\n\nThe stats will only include PRs between the date `days_back` days ago and now. Does **not** have to be an integer.\n\nDefault: 30\n\n### `include_drafts`\n\nIf set to `true`, the stats will include draft PRs.\n\nDefault: `false`\n\n## Example usage\n\n```\non:\n  schedule:\n    - cron: '0 8 * * *'\n\njobs:\n  calculate-stats:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Run simple-pr-stats\n        uses: akwodkiewicz/simple-pr-stats@v0.2\n        with:\n          token: ${{ secrets.GITHUB_TOKEN }}\n          labels_to_ignore: label with spaces, release\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakwodkiewicz%2Fsimple-pr-stats","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fakwodkiewicz%2Fsimple-pr-stats","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakwodkiewicz%2Fsimple-pr-stats/lists"}