This repository was archived by the owner on Jun 9, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +55
-0
lines changed
Expand file tree Collapse file tree 1 file changed +55
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Dependent Issues
2+
3+ on :
4+ issues :
5+ types :
6+ - opened
7+ - edited
8+ - closed
9+ - reopened
10+ pull_request_target :
11+ types :
12+ - opened
13+ - edited
14+ - closed
15+ - reopened
16+ # Makes sure we always add status check for PRs. Useful only if
17+ # this action is required to pass before merging. Otherwise, it
18+ # can be removed.
19+ - synchronize
20+
21+ # Schedule a daily check. Useful if you reference cross-repository
22+ # issues or pull requests. Otherwise, it can be removed.
23+ schedule :
24+ - cron : ' 12 9 * * *'
25+
26+ permissions : write-all
27+
28+ jobs :
29+ check :
30+ runs-on : ubuntu-latest
31+ steps :
32+ - uses : z0al/dependent-issues@v1
33+ env :
34+ # (Required) The token to use to make API calls to GitHub.
35+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
36+ # (Optional) The token to use to make API calls to GitHub for remote repos.
37+ GITHUB_READ_TOKEN : ${{ secrets.DEPENDENT_ISSUES_READ_TOKEN }}
38+
39+ with :
40+ # (Optional) The label to use to mark dependent issues
41+ # label: dependent
42+
43+ # (Optional) Enable checking for dependencies in issues.
44+ # Enable by setting the value to "on". Default "off"
45+ check_issues : on
46+
47+ # (Optional) A comma-separated list of keywords. Default
48+ # "depends on, blocked by"
49+ keywords : depends on, blocked by
50+
51+ # (Optional) A custom comment body. It supports `{{ dependencies }}` token.
52+ comment : >
53+ This PR/issue depends on:
54+
55+ {{ dependencies }}
You can’t perform that action at this time.
0 commit comments