GitHub Action: Composite
--- name: All Checks on: pull_request: branches: - main jobs: meta: runs-on: - ubuntu-20.04 steps: - name: Ensure All Conditional Checks Have Passed uses: blend/[email protected] with: checks-yaml: | - job: sleep1 - job: sleep2 paths: - changed/** - prefix/**
checks-yaml can be checked into a file in your repository
# ... steps: - name: Ensure All Conditional Checks Have Passed uses: blend/[email protected] with: checks-filename: .github/monorepo/required-checks.yml # ...
See It In Action
From a recent workflow run on public GitHub:
From a recent workflow on GitHub Enterprise:
- The GitHub
CompareCommits()API can return at most 300 files
when comparing two commits. This makes it impossible to determine the
full list of impacted files for PRs with 300 or more files. The list
of files is critical for
blend/action-compositeto determine which
checks to enforce.
For more information on how this GitHub Action is developed, see the