Update pull_request_ci. Only run when 'Ready for CI' label detected

[skip ci]
This commit is contained in:
Florian Heilmann 2023-12-21 08:53:03 +01:00 committed by GitHub
parent 3ccce5f07e
commit d2c3570395
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

View File

@ -2,7 +2,7 @@ name: pull_request_ci
run-name: "#${{github.event.number}} - ${{github.event.pull_request.title}}"
on:
pull_request:
types: [opened, reopened, synchronize]
types: [opened, reopened, synchronize, labeled]
concurrency:
group: ${{ github.ref }}
cancel-in-progress: true
@ -10,4 +10,5 @@ permissions:
pull-requests: write
jobs:
voronusers_ci_pr_check:
uses: VoronDesign/.github/.github/workflows/voronusers-ci-pr-check.yml@main
if: ${{ contains( github.event.pull_request.labels.*.name, 'Ready for CI') }}
uses: VoronDesign/.github/.github/workflows/voronusers-ci-pr-check.yml@main