Switch to depends-on/depends-on-action for PR dependencies

Signed-off-by: Tom Pantelis <tompantelis@gmail.com>
This commit is contained in:
Tom Pantelis
2026-06-05 08:38:16 -04:00
committed by Thomas Pantelis
parent b87333251d
commit cdb48a6e26
+3 -23
View File
@@ -2,27 +2,15 @@
name: PR Dependencies name: PR Dependencies
on: on:
issues:
types:
- opened
- edited
- closed
- reopened
- synchronize
pull_request_target: pull_request_target:
types: types:
- opened - opened
- edited - edited
- closed
- reopened - reopened
- synchronize - synchronize
schedule:
- cron: '0 0/6 * * *' # every 6 hours
permissions: permissions:
issues: write
pull-requests: write pull-requests: write
statuses: write
jobs: jobs:
check: check:
@@ -30,15 +18,7 @@ jobs:
if: github.repository_owner == 'submariner-io' if: github.repository_owner == 'submariner-io'
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: z0al/dependent-issues@950226e7ca8fc43dc209a7febf67c655af3bdb43 - uses: depends-on/depends-on-action@e7915c70317af4efc4e6c4a4eb1e9260e215270c # v0.16.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with: with:
# The label to use to mark dependent issues token: ${{ secrets.GITHUB_TOKEN }}
label: dependent check-unmerged-pr: true
# Enable checking for dependencies in issues.
check_issues: on
# A comma-separated list of keywords to mark dependency.
keywords: depends on, Depends on