mirror of
https://github.com/submariner-io/submariner-charts.git
synced 2026-09-22 07:20:35 +00:00
Switch to depends-on/depends-on-action for PR dependencies
Signed-off-by: Tom Pantelis <tompantelis@gmail.com>
This commit is contained in:
committed by
Thomas Pantelis
parent
b87333251d
commit
cdb48a6e26
@@ -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
|
|
||||||
|
|||||||
Reference in New Issue
Block a user