-
Notifications
You must be signed in to change notification settings - Fork 331
36 lines (31 loc) · 1.07 KB
/
dependent-issues.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: Dependent Issues
on:
schedule:
- cron: '*/15 * * * *' # run every 15 minutes
workflow_dispatch:
jobs:
cancel:
name: 'Cancel Previous Runs (dependent issues)'
runs-on: ubuntu-latest
# timeout-minutes: 3
steps:
- uses: styfle/[email protected]
with:
all_but_latest: true
access_token: ${{ github.token }}
check:
runs-on: ubuntu-latest
steps:
- uses: z0al/dependent-issues@75d554cd9494b6e1766bc9d08a81c26444ad5c5a
env:
# (Required) The token to use to make API calls to GitHub.
GITHUB_TOKEN: ${{ secrets.DEPENDENT_ISSUES_TOKEN }}
with:
# (Optional) The label to use to mark dependent issues
label: blocked-by-other-PR
# (Optional) Enable checking for dependencies in issues. Enable by
# setting the value to "on". Default "off"
check_issues: off
# (Optional) A comma-separated list of keywords. Default
# "depends on, blocked by"
keywords: "- \\[ \\] depends on:,- \\[x\\] depends on:"