{"id":18982290,"url":"https://github.com/profusion/check-approvals","last_synced_at":"2026-06-13T21:33:24.600Z","repository":{"id":180955930,"uuid":"665740673","full_name":"profusion/check-approvals","owner":"profusion","description":null,"archived":false,"fork":false,"pushed_at":"2023-07-13T16:02:48.000Z","size":131,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-11-10T21:23:19.996Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/profusion.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-07-12T22:34:17.000Z","updated_at":"2023-07-12T22:35:40.000Z","dependencies_parsed_at":"2025-01-01T11:41:57.931Z","dependency_job_id":"e5d3485a-43b6-42a0-9cec-2c4853958ec9","html_url":"https://github.com/profusion/check-approvals","commit_stats":null,"previous_names":["profusion/check-approvals"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/profusion/check-approvals","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/profusion%2Fcheck-approvals","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/profusion%2Fcheck-approvals/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/profusion%2Fcheck-approvals/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/profusion%2Fcheck-approvals/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/profusion","download_url":"https://codeload.github.com/profusion/check-approvals/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/profusion%2Fcheck-approvals/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34301731,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-13T02:00:06.617Z","response_time":62,"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":[],"created_at":"2024-11-08T16:13:02.630Z","updated_at":"2026-06-13T21:33:24.579Z","avatar_url":"https://github.com/profusion.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# check-approvals\nChecks whether a pull request has a minimum amount of approvals.\n\n## Inputs\n### `MIN_APPROVALS_NEEDED`\nRequired minimum amount of approvals needed.\n\n## Outputs\n### `APPROVED`\nWhether the pull request has the minimum amount of approvals. Example: `true` or `false`.\n\n\n## Env\n### `GITHUB_TOKEN`\nRequired github token to read the repository pull request.\n\n## Usage example\n```yaml\nname: Check approvals example\n\non:\n  pull_request:\n\njobs:\n  check-commits-authors:\n    env:\n      GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n    outputs:\n      APPROVED: ${{ steps.my-step.outputs.APPROVED }}\n    steps:\n      - uses: profusion/check-approvals@main\n        id: my-step\n        if: ${{ github.event_name == 'pull_request_review' }}\n        with:\n          MIN_APPROVALS_NEEDED: ${{ vars.MIN_APPROVALS_NEEDED }}\n```\n\n## [Development]\nAfter you make changes on the Typescript codebase, you have to run `yarn build` to update `dist/bundle.js`.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprofusion%2Fcheck-approvals","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprofusion%2Fcheck-approvals","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprofusion%2Fcheck-approvals/lists"}