-
Notifications
You must be signed in to change notification settings - Fork 8
44 lines (42 loc) · 1.03 KB
/
dependent_pr.yaml
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
name: Dependent PRs
on:
issues:
types:
- opened
- edited
- closed
- reopened
pull_request_target:
types:
- opened
- edited
- closed
- reopened
- synchronize
merge_group:
types:
- checks_requested
schedule:
- cron: "0 0 * * *"
jobs:
check:
name: Check
runs-on: ubuntu-latest
if: github.repository_owner == 'axiomhq'
steps:
- uses: z0al/dependent-issues@v1
if: github.actor != 'dependabot[bot]'
env:
GITHUB_TOKEN: ${{ github.token }}
GITHUB_READ_TOKEN: ${{ secrets.AXIOM_AUTOMATION_TOKEN }}
with:
label: dependent
keywords: depends on, blocked by, needs, requires
- uses: LouisBrunner/checks-action@v2.0.0
if: github.actor == 'dependabot[bot]'
with:
token: ${{ github.token }}
name: Dependent Issues
conclusion: success
output: |
{"summary":"Not checking for dependent issues or PRs on Dependabot PRs."}