Skip to content

Commit

Permalink
Add PR dependencies GH action
Browse files Browse the repository at this point in the history
  • Loading branch information
calpt committed Jan 6, 2022
1 parent 41d5c8b commit d9c06ec
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/pr_dependencies.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Pull Request Dependencies

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

jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: z0al/dependent-issues@v1
env:
GITHUB_TOKEN: ${{ secrets.BOT_TOKEN }}
with:
# (Optional) A comma-separated list of keywords. Default
# "depends on, blocked by"
keywords: depends on, blocked by

# (Optional) A custom comment body. It supports `{{ dependencies }}` token.
comment: >
This PR/issue depends on:
{{ dependencies }}
---
Automatically provided by **[Dependent Issues](https://github.com/z0al/dependent-issues)** (🤖).

0 comments on commit d9c06ec

Please sign in to comment.