From 214642f60323bce431d23311c2638cf58b1e7899 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Wed, 13 Nov 2024 13:32:30 +0100 Subject: [PATCH] Do not run windows-ci is phpstan is ko --- .github/workflows/ci-on-pull_request.yml | 3 ++- .github/workflows/ci-on-push.yml | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci-on-pull_request.yml b/.github/workflows/ci-on-pull_request.yml index 4b01f56162b..7b3fff88c7d 100644 --- a/.github/workflows/ci-on-pull_request.yml +++ b/.github/workflows/ci-on-pull_request.yml @@ -10,6 +10,7 @@ jobs: phan: uses: ./.github/workflows/phan.yml secrets: inherit + needs: [pre-commit] with: gh_event: ${{ github.event_name }} phpstan: @@ -19,7 +20,7 @@ jobs: with: gh_event: ${{ github.event_name }} #windows-ci: - # needs: [pre-commit, phan] + # needs: [pre-commit, phan, phpstan] # secrets: inherit # uses: ./.github/workflows/windows-ci.yml # with: diff --git a/.github/workflows/ci-on-push.yml b/.github/workflows/ci-on-push.yml index 9c30edea31b..45137e8ed7a 100644 --- a/.github/workflows/ci-on-push.yml +++ b/.github/workflows/ci-on-push.yml @@ -10,6 +10,7 @@ jobs: phan: uses: ./.github/workflows/phan.yml secrets: inherit + needs: [pre-commit] with: gh_event: ${{ github.event_name }} phpstan: @@ -19,7 +20,7 @@ jobs: with: gh_event: ${{ github.event_name }} windows-ci: - needs: [pre-commit, phan] + needs: [pre-commit, phan, phpstan] secrets: inherit uses: ./.github/workflows/windows-ci.yml with: