Check dependent PR #1
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Dependent Issues | ||
on: | ||
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. |