PR Dependencies #5005
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: PR Dependencies | |
on: | |
issues: | |
types: | |
- opened | |
- edited | |
- closed | |
- reopened | |
- synchronize | |
pull_request_target: | |
types: | |
- opened | |
- edited | |
- closed | |
- reopened | |
- synchronize | |
schedule: | |
- cron: '0 0/6 * * *' # every 6 hours | |
permissions: | |
issues: write | |
pull-requests: write | |
statuses: write | |
jobs: | |
check: | |
name: Check Dependencies | |
if: github.repository_owner == 'submariner-io' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: z0al/dependent-issues@950226e7ca8fc43dc209a7febf67c655af3bdb43 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
# The label to use to mark dependent issues | |
label: dependent | |
# Enable checking for dependencies in issues. | |
check_issues: on | |
# A comma-separated list of keywords to mark dependency. | |
keywords: depends on, Depends on |