From 7913ae6c1caa7945bb5fda4ed88b2f6bc499d267 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Mon, 13 Apr 2026 16:39:06 +0200 Subject: [PATCH] Try to clean github actions --- .github/workflows/ci-on-pull_request.yml | 5 ----- .github/workflows/ci-on-push.yml | 6 +----- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/.github/workflows/ci-on-pull_request.yml b/.github/workflows/ci-on-pull_request.yml index 416598105f3..1c6b568ef1f 100644 --- a/.github/workflows/ci-on-pull_request.yml +++ b/.github/workflows/ci-on-pull_request.yml @@ -36,8 +36,3 @@ jobs: # uses: ./.github/workflows/gh-travis.yml # with: # gh_event: ${{ github.event_name }} - -# Note (not tested, from https://github.com/orgs/community/discussions/38361) -# To cancel jobs if one fails, the following action may help -# - if: "failure()" -# uses: "andymckay/cancel-action@0.3" diff --git a/.github/workflows/ci-on-push.yml b/.github/workflows/ci-on-push.yml index 489f3c506f9..b0455bcbae4 100644 --- a/.github/workflows/ci-on-push.yml +++ b/.github/workflows/ci-on-push.yml @@ -22,6 +22,7 @@ jobs: with: gh_event: ${{ github.event_name }} windows-ci: + if: github.ref == 'refs/heads/develop' # Condition for branch "develop" needs: [pre-commit, phan, phpstan] secrets: inherit uses: ./.github/workflows/windows-ci.yml @@ -36,8 +37,3 @@ jobs: # uses: ./.github/workflows/gh-travis.yml # with: # gh_event: ${{ github.event_name }} - -# Note (not tested, from https://github.com/orgs/community/discussions/38361) -# To cancel jobs if one fails, the following action may help -# - if: "failure()" -# uses: "andymckay/cancel-action@0.3"