From d2c3570395d75ae70288944ee656a36f7d0f5fac Mon Sep 17 00:00:00 2001 From: Florian Heilmann Date: Thu, 21 Dec 2023 08:53:03 +0100 Subject: [PATCH] Update pull_request_ci. Only run when 'Ready for CI' label detected [skip ci] --- .github/workflows/pull_request_ci.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pull_request_ci.yml b/.github/workflows/pull_request_ci.yml index 5a08ed030..3c02f5ba6 100644 --- a/.github/workflows/pull_request_ci.yml +++ b/.github/workflows/pull_request_ci.yml @@ -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 \ No newline at end of file + if: ${{ contains( github.event.pull_request.labels.*.name, 'Ready for CI') }} + uses: VoronDesign/.github/.github/workflows/voronusers-ci-pr-check.yml@main