Skip to content

Check dependent PR

Check dependent PR #1

name: Dependent Issues
on:

Check failure on line 3 in .github/workflows/dependent-issues.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/dependent-issues.yml

Invalid workflow file

You have an error in your yaml syntax on line 3
pull_request_target:
branches:
- release/4.0.0
- master
types:
- opened
- edited
- closed
- reopened
# Makes sure we always add status check for PRs. Useful only if
# this action is required to pass before merging. Otherwise, it
# can be removed.
- synchronize
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: z0al/dependent-issues@v1
env:
# (Required) The token to use to make API calls to GitHub.
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
# (Optional) The label to use to mark dependent issues
label: dependent
# (Optional) A comma-separated list of keywords. Default
# "depends on, blocked by"
keywords: depends on, blocked by
# (Optional) A custom comment body. It supports `{{ dependencies }}` token.
comment: >
This PR/issue depends on:
{{ dependencies }}
PRs are only allowed to get merged after its dependecies.