Use workflow_call instead of pull_request (#30)

workflow call instead of pull request
This commit is contained in:
BlueWeabo 2023-10-18 23:20:47 +03:00 committed by GitHub
parent 1aec8967d3
commit 7af38bd652
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,18 +2,8 @@
name: Label Reviews
# Trigger the workflow on pull requests
on:
pull_request:
types:
- opened
- reopened
- synchronize
- labeled
- unlabeled
pull_request_review:
types:
- submitted
- edited
- dismissed
workflow_call:
jobs:
require-reviewers:
# Optional: skip check if no relevant label is present