[CI] Add Dependent Issues
This commit is contained in:
parent
cd2ef9123c
commit
d704cc61d6
1 changed files with 52 additions and 0 deletions
52
.github/workflows/dependent-issues.yml
vendored
Normal file
52
.github/workflows/dependent-issues.yml
vendored
Normal file
|
@ -0,0 +1,52 @@
|
||||||
|
name: Dependent Issues
|
||||||
|
|
||||||
|
on:
|
||||||
|
issues:
|
||||||
|
types:
|
||||||
|
- opened
|
||||||
|
- edited
|
||||||
|
- closed
|
||||||
|
- reopened
|
||||||
|
pull_request_target:
|
||||||
|
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
|
||||||
|
|
||||||
|
# Schedule a daily check. Useful if you reference cross-repository
|
||||||
|
# issues or pull requests. Otherwise, it can be removed.
|
||||||
|
schedule:
|
||||||
|
- cron: '4 18 * * *'
|
||||||
|
|
||||||
|
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 }}
|
||||||
|
# (Optional) The token to use to make API calls to GitHub for remote repos.
|
||||||
|
# GITHUB_READ_TOKEN: ${{ secrets.GITHUB_READ_TOKEN }}
|
||||||
|
|
||||||
|
with:
|
||||||
|
# (Optional) The label to use to mark dependent issues
|
||||||
|
label: dependent
|
||||||
|
|
||||||
|
# (Optional) Enable checking for dependencies in issues.
|
||||||
|
# Enable by setting the value to "on". Default "off"
|
||||||
|
check_issues: on
|
||||||
|
|
||||||
|
# (Optional) Ignore dependabot PRs.
|
||||||
|
# Enable by setting the value to "on". Default "off"
|
||||||
|
# ignore_dependabot: off
|
||||||
|
|
||||||
|
# (Optional) A comma-separated list of keywords. Default
|
||||||
|
# "depends on, blocked by"
|
||||||
|
# keywords: depends on, blocked by
|
||||||
|
|
Loading…
Reference in a new issue