Skip to content

Commit

Permalink
DEV: add Dependent Issues GitHub Action
Browse files Browse the repository at this point in the history
  • Loading branch information
misialq committed Jan 22, 2024
1 parent f4b9644 commit 44f76f8
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions .github/workflows/dependent-issues.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: Dependent Issues

on:
issues:
types:
- opened
- edited
- closed
- reopened
pull_request_target:
types:
- opened
- edited
- closed
- reopened
- synchronize

schedule:
- cron: '0 0 * * *'

jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: z0al/dependent-issues@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_READ_TOKEN: ${{ secrets.GITHUB_READ_TOKEN }}

with:
label: dependent

# (Optional) Enable checking for dependencies in issues.
# Enable by setting the value to "on". Default "off"
check_issues: off

ignore_dependabot: off

keywords: depends on, blocked by, merge after

comment: >
This PR/issue depends on:
{{ dependencies }}

0 comments on commit 44f76f8

Please sign in to comment.