From 7b5b6f928455e50185978b853dfea05cc8c5b1f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Zasso?= Date: Thu, 4 Apr 2024 11:06:50 +0200 Subject: [PATCH] Revert "tools: run `build-windows` workflow only on source changes" MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit 4ab63db9e207b5dbb6c046946716a49b6e2c3e53. PR-URL: https://github.com/nodejs/node/pull/52320 Refs: https://github.com/nodejs/node/pull/51596 Reviewed-By: Richard Lau Reviewed-By: Luigi Pinca Reviewed-By: Ulises Gascón Reviewed-By: Marco Ippolito --- .github/workflows/build-windows.yml | 22 ++++++++-------------- 1 file changed, 8 insertions(+), 14 deletions(-) diff --git a/.github/workflows/build-windows.yml b/.github/workflows/build-windows.yml index 559728c531dec5..0b35c4f31571cc 100644 --- a/.github/workflows/build-windows.yml +++ b/.github/workflows/build-windows.yml @@ -2,13 +2,10 @@ name: Build Windows on: pull_request: - paths: - - lib/**/*.js - - Makefile - - src/**/*.cc - - src/**/*.h - - tools/gyp/** - - .github/workflows/build-windows.yml + paths-ignore: + - README.md + - .github/** + - '!.github/workflows/build-windows.yml' types: [opened, synchronize, reopened, ready_for_review] push: branches: @@ -16,13 +13,10 @@ on: - canary - v[0-9]+.x-staging - v[0-9]+.x - paths: - - lib/**/*.js - - Makefile - - src/**/*.cc - - src/**/*.h - - tools/gyp/** - - .github/workflows/build-windows.yml + paths-ignore: + - README.md + - .github/** + - '!.github/workflows/build-windows.yml' concurrency: group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}