{"id":13538205,"url":"https://github.com/blend/require-conditional-status-checks","last_synced_at":"2025-10-15T03:30:22.516Z","repository":{"id":39742005,"uuid":"429665397","full_name":"blend/require-conditional-status-checks","owner":"blend","description":"GitHub Action: Compose multiple (conditional) checks into a single check based on file paths in a pull request","archived":false,"fork":false,"pushed_at":"2022-07-05T19:16:56.000Z","size":37617,"stargazers_count":28,"open_issues_count":6,"forks_count":6,"subscribers_count":45,"default_branch":"release","last_synced_at":"2024-10-14T13:34:12.346Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/blend.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-11-19T04:06:26.000Z","updated_at":"2024-03-15T05:16:13.000Z","dependencies_parsed_at":"2023-01-05T05:02:58.175Z","dependency_job_id":null,"html_url":"https://github.com/blend/require-conditional-status-checks","commit_stats":{"total_commits":5,"total_committers":2,"mean_commits":2.5,"dds":0.4,"last_synced_commit":"ed3eab5e4f7b7ece49e436df9ff22703de050669"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blend%2Frequire-conditional-status-checks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blend%2Frequire-conditional-status-checks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blend%2Frequire-conditional-status-checks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blend%2Frequire-conditional-status-checks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/blend","download_url":"https://codeload.github.com/blend/require-conditional-status-checks/tar.gz/refs/heads/release","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":236558797,"owners_count":19168518,"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","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-08-01T09:01:07.884Z","updated_at":"2025-10-15T03:30:16.292Z","avatar_url":"https://github.com/blend.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# GitHub Action: Require Conditional Status Checks\n\n## Example Usage\n\n```yaml\n---\nname: 'Meta Workflow: Require Conditional Status Checks'\n\non:\n  pull_request:\n    branches:\n    - main\n\njobs:\n  meta:\n    runs-on:\n    - ubuntu-20.04\n\n    steps:\n    - name: Ensure All Conditional Checks Have Passed\n      uses: blend/require-conditional-status-checks@2022.02.04\n      with:\n        interval: 20s\n        checks-yaml: |\n          - job: unit-test-go-core\n            paths:\n            - cmd/**\n            - pkg/**\n          - job: lint-go\n          - job: protobuf-check-generated\n            paths:\n            - proto/**\n            - pkg/protogen/**\n          - job: lint-protobuf\n            paths:\n            - proto/**\n```\n\nAlternatively, the `checks-yaml` can be checked into a file in your repository\n\n```yaml\n# ...\n    steps:\n    - name: Ensure All Conditional Checks Have Passed\n      uses: blend/require-conditional-status-checks@2022.02.04\n      with:\n        interval: 20s\n        checks-filename: .github/monorepo/required-checks.yml\n# ...\n```\n\n## See It In Action\n\nFrom a recent workflow run on public GitHub:\n\n![Example Workflow Public][2]\n\nFrom a recent workflow on GitHub Enterprise:\n\n![Example Workflow GHE][3]\n\n## Limitations\n\n-   The GitHub `CompareCommits()` [API][1] can return at most 300 files\n    when comparing two commits. This makes it impossible to determine the\n    full list of impacted files for PRs with 300 or more files. The list\n    of files is critical for `blend/require-conditional-status-checks` to determine which\n    checks to enforce.\n\n## Development\n\nThis GitHub Action is developed in the `development` [branch][5] of this\nrepository, in particular via the command in `cmd/requireconditional/`.\n\nThe documentation and source code for this action are maintained there. This\nbranch is intended to be as small as possible so it can be loaded quickly\nwhen new jobs retrieve it when spawned as part of a GitHub Actions workflow.\nFor more information on how this GitHub Action is developed, see the\n[DEVELOPMENT][4] document.\n\n[1]: https://docs.github.com/en/free-pro-team@latest/rest/reference/repos/#compare-two-commits\n[2]: https://github.com/blend/require-conditional-status-checks/blob/4b7de504558cac5083795023fe26985549ef6e0b/_images/example-run-public.png?raw=true\n[3]: https://github.com/blend/require-conditional-status-checks/blob/4b7de504558cac5083795023fe26985549ef6e0b/_images/example-run-ghe.png?raw=true\n[4]: https://github.com/blend/require-conditional-status-checks/blob/4b7de504558cac5083795023fe26985549ef6e0b/DEVELOPMENT.md\n[5]: https://github.com/blend/require-conditional-status-checks/tree/4b7de504558cac5083795023fe26985549ef6e0b\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblend%2Frequire-conditional-status-checks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fblend%2Frequire-conditional-status-checks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblend%2Frequire-conditional-status-checks/lists"}