forked from logisim-evolution/logisim-evolution
-
Notifications
You must be signed in to change notification settings - Fork 0
55 lines (50 loc) · 1.61 KB
/
dependabot.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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
#
# Logisim-evolution PR/Issue cross dependency checker
# https://github.com/logisim-evolution/logisim-evolution
#
# Github Action that looks for "DEPENDS_ON <ID>" and "BLOCKED_BY <ID>"
# in PR description and checks state of referenced PRs ensure these
# are merged first.
#
# Marcin Orlowski
#
name: Dependabot
on:
issues:
types:
- opened
- edited
- reopened
pull_request_target:
types:
- opened
- edited
- reopened
# Makes sure we always add status check for PRs. Useful only if
# this action is required to pass before merging. Can be removed
# otherwise.
- synchronize
# Schedule a daily check. Useful if you reference cross-repository
# issues or pull requests. Can be removed otherwise.
schedule:
# m h dom mon dow
- cron: '0 0 * * *'
jobs:
check:
runs-on: ubuntu-latest
steps:
# https://github.com/marketplace/actions/dependent-issues
- 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: off
# (Optional) A comma-separated list of keywords.
keywords: DEPENDS_ON, BLOCKED_BY