diff --git a/.github/workflows/dependent-issues.yaml b/.github/workflows/dependent-issues.yaml new file mode 100644 index 00000000..ea315b65 --- /dev/null +++ b/.github/workflows/dependent-issues.yaml @@ -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 }}