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"