ceph/.github/workflows/pr-check-deps.yml
Ernesto Puerta 61011a43a3
.github: check if PR deps are merged/closed
If a PR description includes `blocked by <pr>` or `depends on <pr>`,
this check will fail until the referred PRs are either merged or closed.

If this check is made required, it'll also block the merge button.

The details of the supported syntax can be checked at:
https://github.com/marketplace/actions/pr-dependency-check

Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
2021-10-08 19:14:17 +02:00

11 lines
298 B
YAML

name: Check PR dependencies
on: [pull_request_target]
jobs:
check_dependencies:
runs-on: ubuntu-latest
name: Check PR Dependencies
steps:
- uses: gregsdennis/dependencies-action@80b5ffec566913b1494d5a8577ab0d60e476271d
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}